Hi Suresh,
I think you got empty string displayed.Actually getting mobile number
is depends on your Network provider. If Network operator allows to take sim
number from device, it will work I think other countries are providing
this service...
I also tried lot of methods but not works for Indian network providers...
Another way is there, we can get sim serial number programmatically...
TelephonyManager manager
=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
simserial= manager.getSimSerialNumber() ; //get sim serial number
by using this method we can get serial number of SIM(printed on Sim) and
match this number mobile number in database...Draw back of this method is
we should know the mobile number of particular serial before proceeding
this...
I hope this will help You to think...
On Thu, Nov 3, 2011 at 5:03 PM, suresh sureshmca.sv...@gmail.com wrote:
hi Ratheesh can u tel me which settings i should give.
On Nov 3, 4:23 pm, Ratheesh Valamchuzhy android...@gmail.com wrote:
make sure you give all the settings
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
BY
R.RAMPRASAD
--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en