You can get an reflection call on the internal Api
On May 6, 2010 5:48 AM, Vinay S s.vinay@gmail.com wrote:
Hi,
Are you sure, you are getting the context correctly..?
Are you able to get other deatils, like Network type phone type, sim
status etc?
-Vinay
On May 5, 9:32 pm, David Given
Hi David,
I think you are trying to use TelephonyManager.getLine1Number();
Instead create an object of the TelephonyManager and then call the
getLine1Number();
-Vinay
On May 5, 3:53 pm, David Given d...@cowlark.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 28/04/10 14:27,
I was informed that its a SIM issue, and that some SIM cards do not
store the telephone number in the appropriate way to retrieve the
number
On May 5, 1:32 pm, Vinay S s.vinay@gmail.com wrote:
Hi David,
I think you are trying to use TelephonyManager.getLine1Number();
Instead create an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/05/10 12:48, Mark Ellul wrote:
I was informed that its a SIM issue, and that some SIM cards do not
store the telephone number in the appropriate way to retrieve the
number
That's what I originally thought, but as I said, Settings-About Phone
Hi David,
Pl. try this code..
TelephonyManager tMgr = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE) ;
Log.d(+tMgr.getLine1Number() ) ;
-Vinay
On May 5, 9:32 pm, David Given d...@cowlark.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/05/10 12:48, Mark Ellul
Hi,
Are you sure, you are getting the context correctly..?
Are you able to get other deatils, like Network type phone type, sim
status etc?
-Vinay
On May 5, 9:32 pm, David Given d...@cowlark.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/05/10 12:48, Mark Ellul wrote:
I
6 matches
Mail list logo