[android-developers] Re: Read the GSM SIM Number on startup
Hi
You need to use the class TelephonyManager
http://developer.android.com/reference/android/telephony/TelephonyManager.html
Depends on what exactly you want, you will need to call getSimOperator
() , getSimSerialNumber() , getLine1Number() or another method.
Hope that helps.
Daniel
On Nov 26, 12:11 pm, manoj <manojkumar.m...@gmail.com> wrote:
> Hi,
> I would like to know the GSM SIM number of the device once the mobile
> is switched on and write a call back once the sim number is got on
> startup. Can any one guide me on this.
>
> Thanks in Advance
> Manoj
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home