-3
I am making an app in which I need to check if the person has credit on the mobile. I was wondering how can I do it. Mt thank you
-3
I am making an app in which I need to check if the person has credit on the mobile. I was wondering how can I do it. Mt thank you
1
Friend... as far as I understand, what you want to know is not easy.
First: each operator has a different method of knowing the balance. TIM and Claro are by USSD (when you dial a number starting with * and ending with # and receive a message or a menu). Vivo and TIM have SMS. And Oi is only by voice message (as you will "hear" a voice message?)
Detail: operators can change the message format, include promotional balance information, or even advertisements for other services.
http://www.techtudo.com.br/dicas-e-tutoriais/noticia/2015/12/saldo-vivo-tim-claro-oi-celular.html
According to: This all that has above is if the cell phone is prepaid. And how do you identify if the cell phone is prepaid or postpaid?
Third: And there are other operators: Nextel, Porto Seguro has its own operator, besides others.
http://www.teleco.com.br/opcelular.asp
It is not impossible, but it will be very complicated, besides being able to change at any time.
Browser other questions tagged java android
You are not signed in. Login or sign up in order to post.
Mt thanks Plinio. I expected it to be difficult msm, until pq did not find mt thing on the net, in fact I did not find anything. The problem is that in my app I check if the user’s phone is connected on wifi, but there is no internet msm (like if the internet crashed). I saw some ideas of trying to access a page and Dae make sure that have msm internet, but I found mt hand, and other, when wifi is turned off, if the data so connected, in case use the internet by credit, he understands that has internet, msm without credit, so my question.
– J.Young
But I will give my way here, in a simpler way, I will warn the user and tals. Mt thanks msm. Vlw for clarifying!
– J.Young