I confirm it's all 0 due to the fact that you're in the emulator. As far as I know, the value should be decimal for GSM networks, but I don't know about other ones like CDMA.
On Mon, Dec 7, 2009 at 9:24 AM, Robotuner <[email protected]> wrote: > Hi: > > I am playing with Android Development and have used the following > commands to obtain the device id: > > TelephonyManager mTelephonyManager = (TelephonyManager) > getSystemService > > (Context.TELEPHONY_SERVICE); > String deviceid= mTelephonyManager.getDeviceId(); > > What I am getting is a 15 digit string: "000000000000000" > > Since I don't have a real Android, and am only working with the > emulator, I don't know if the 15 digit string is a 15 digit base 10 > number or a 15 digit hex number. Also, I have to assume that the > string is all zeros because it is from the emulator and not a real > Android. > > I am hoping that someone can confirm both the nature of the string and > that it is all zeros only because it is from the emulator. > > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

