Can you give an example? If you are detecting non-digits, perhaps they are dashes "-" separating the identifier components?
Be careful when making assumptions on this value as not all Android devices are phones, and as far as I'm aware manufacturers could potentially pass anything back from a getDeviceId() call. Same goes for other functions, such as getLine1Number(), etc. On Thu, Jul 8, 2010 at 1:27 PM, sblantipodi <perini.dav...@dpsoftware.org> wrote: > Hi all, > > after this code: > > TelephonyManager mTelephonyMgr = (TelephonyManager) > getSystemService(Context.TELEPHONY_SERVICE); > pin = mTelephonyMgr.getDeviceId(); > > the pin variable should contain the IMEI number of the phone, > on some phones it returns LETTER and DECIMAL, how it it possible? > > IMEI with letter? :o > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en