How to fetch Mobile Number

by Nishant » Sat, 21 Nov 2009 14:58:04 GMT


Sponsored Links
 Hi,

Is it possible to fetch Owner Mobile number.
I have got the operator name but not able to fetch the Mobile Number.

Which intent will be used?

Regards,
Nishant Shah

--



How to fetch Mobile Number

by Nithin » Sat, 21 Nov 2009 18:47:37 GMT


 Hi Nishant,

Just try getLine1Number() in the TelephonyManager. It may help

Thanks
Nithin






--


Sponsored Links


How to fetch Mobile Number

by Nishant » Sat, 21 Nov 2009 23:36:46 GMT


 Hi,

I have tried it in emulator. It should return 5554
But it gives me another number.

Thanks & Regards,
Nishant Shah

--



Other Threads

1. Time To Lift Dev Phone Purchase Limitations

With the new Android devices coming out, will Google lift the
restriction on buying one developer device?

For instance, as I understand it, I can't currently test SDK 2.0 apps
on the unlocked G1 phone I originally bought.

I believe the iPhone Developer Program allows a development account to
do ad-hoc app deployment to 100 devices.

Isn't it time to open up the very narrow unlocked device limit?

jack

--~--~---------~--~----~------------~-------~--~----~

2. Paint (fill) a Path with a texture

Hey,

I currently draw Paths to the screen and fill them with a simple
color; however, is it possible to take a bitmap and fill the path with
this texture?

Thanks
--~--~---------~--~----~------------~-------~--~----~

3. Compilation issue while adding library in external folder

4. Please teach me how to detect USB-connection

5. How to get the childs right and left position from RelativeLayout.onLayout() ralted to the parentLayout width

6. Cyanogen 4.2.2

7. How to capture Soft keyboard key events.