Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

How to obtain the serial number of a BlackBerry PlayBook through your Android app

by BlackBerry Development Advisor on ‎01-20-2012 04:06 PM (7,709 Views)

If your application requires some sort of device recognition (for registration, subscription, logging) the serial number, which is device specific, is exposed through the Telephony class. At this time, the serial number can be obtained through the following call:

 

TelephonyManager tm = (TelephonyManager).getSystemService(Context.TELEPHONY_SERVICE);
String id = tm.getDeviceId();

 

Contributors
Comments
by Developer
on ‎05-03-2013 02:17 AM

So this no longer works in 10.1, returns null.  

by Developer
on ‎07-27-2014 09:42 AM

Doesn't work

Users Online
Currently online: 4 members 997 guests
Please welcome our newest community members: