[android-developers] Re: Device name ?

2010-11-04 Thread Mathias Lin
You could use the SubscriberId / IMSI, but it cannot be detected with all SIM cards, depends on the SIM card. Or you can use the IMEI, the device id: TelephonyManager mTelephonyMgr = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); String imei = mTelephonyMgr.getDeviceId();

Re: [android-developers] Re: Device name ?

2010-11-04 Thread Kostya Vasilyev
There are user-friendly strings in Build.OS, but they are not unique to a particular device, only to all devices having the same make / model. Perhaps you could let the user customize the name in your application, using strings from Build.OS as a default / starting point. -- Kostya Vasilyev --

[android-developers] Re: Device name ?

2010-11-04 Thread Hatch
Yup, Already investigated both approaches and none fit our model. But now I know that there's nothing I can do. Thank you for your replies. On Nov 4, 10:39 am, Kostya Vasilyev kmans...@gmail.com wrote: There are user-friendly strings in Build.OS, but they are not unique to a particular