Click here to Skip to main content
11,789,424 members (47,712 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android source Apps
how to detect credit of mobile from the used network and return message that contain the actual credit.
Posted 19-Dec-12 4:04am
lewax00 at 19-Dec-12 10:21am
What do you mean by "credit of mobile"?
azzaali at 19-Dec-12 10:26am
credit that we use to make phone call or send message ,when the application run on the mobile that support android software automatically make detection to the credit in the mobil ,not the credit card

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This information is provided by the phone company, it is not stored on the phone itself.
azzaali at 19-Dec-12 11:12am
Richard MacCutchan.. I know that ,but i think we can send messege to phone company that request the information about the credit...this is true?? is that how we can implement this application ??
Richard MacCutchan at 19-Dec-12 11:42am
Yes, you can send a message but you would need to know the details for each provider.
azzaali at 19-Dec-12 11:58am
i don't know the actual code to send this message, how i can make the application that run automatically on mobile and send request message?? can you help me in this ??
what do you mean by ''details for each provider '' ??
Richard MacCutchan at 19-Dec-12 12:04pm
I mean you need to find out which phone service provider the phone is using and then use whatever message and format that they use. I have to ask why you need this since the user of the phone will know how to get this information for themself.
azzaali at 19-Dec-12 12:19pm
nice,ok i want to make android application that run on phone to detect the credit of phone and when the user buy any item from any site the app deducated the price of this item from the credit ..instead of using credit card. therefor i want to know the credit first and the second part easy to implement..can you help me more to do this ??
Richard MacCutchan at 19-Dec-12 12:24pm
What help are you asking for? This is a fairly major project that will need to deal with all service providers' message formats, and some sort of secure payment service.
azzaali at 19-Dec-12 12:36pm
thank you for your effort,but i don't need all this secuirty.
i'm student and i need simple method to get credit to perform specific task.
i will run this app just on my phone to acheive my task. i don't need complicated app.
azzaali at 19-Dec-12 12:40pm
can you give me simple example to perform this??
Richard MacCutchan at 19-Dec-12 12:44pm
No, I have explained a number of times what you need to do, so you need to find out from your service provider what format the messages are in to request the current credit on your phone. you then need to code that into your app.
azzaali at 19-Dec-12 12:50pm
Thank you Mr Richard MacCutchan ,already i found the message format that my service provider support.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 929
1 Maciej Los 765
2 KrunalRohit 666
3 CPallini 606
4 Richard MacCutchan 420

Advertise | Privacy | Mobile
Web01 | 2.8.1509028.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100