How do we get the device phone number using webworks api 2.0

I could see an example of code to get the phone number of javascript which is not supported for BB10.  The code below does not work for BB10? If so, what is one alternative to the native extension.


Hi beats,

It is currently not possible. The only way you could get the phone number in this moment is to create a native extension that accesses the 'phone' / 'Line' API here http://developer.blackberry.com/native/reference/cascades/bb__system__phone__line.html?f=line#functi...

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for