Re: [android-developers] TelephonyManager.getLine1Number() returning null?

2010-05-05 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/04/10 14:27, David Given wrote: [...] I'm trying to fetch the telephone number of the device. I'm calling TelephonyManager.getLine1Number(), and it's returning null. A trawl of the intertubes shows that there's a potential problem with

[android-developers] TelephonyManager.getLine1Number() returning null?

2010-04-28 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to fetch the telephone number of the device. I'm calling TelephonyManager.getLine1Number(), and it's returning null. A trawl of the intertubes shows that there's a potential problem with some SIMs not containing this information; however,