12-07-2010 06:36 AM
In my application i want to retrive the device phone number. So, I used
String currentSim = Phone.getDevicePhoneNumber(true);
it is working in simulator. but when am testing in BB device it not getting any thing. showing blank.
Tell me if there any other option for getting device phone number
And am using jde 4.5.0
12-07-2010 06:38 AM
there is no other API for it. it returns the value the user configured, if it is not configured you cannot read it.