I'm making an app where I need to check if the person has credit on my phone. I wanted to know how I can do this. Thanks Mt
I'm making an app where I need to check if the person has credit on my phone. I wanted to know how I can do this. Thanks Mt
Friend ... as far as I understand, what you want to know is not easy.
First : Each carrier has a different method of knowing the balance. TIM and Claro are by USSD (when you dial a number beginning with * and ending with # and receive a message or a menu). Vivo and TIM have SMS. And the Oi is just by voicemail (how will you "hear" a voicemail?)
Detail: Operators can change the format of the message, include promotional balance information, or even advertisements for other services.
Second : This is all if the cell phone is prepaid. And how do you identify whether your cell phone is prepaid or postpaid?
Third : And there are other operators: Nextel, Porto Seguro has its own operator, among others.
It's not impossible, but it's going to be very complicated, and you can change it at any time.