[android-developers] Re: getdeviceid() causing invocation target exception

2010-10-13 Thread Bret Foreman
Sounds like you might be missing a permission. Check the logcat for a message to that effect and update your manifest. -- 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

[android-developers] Re: getdeviceid() causing invocation target exception

2010-10-13 Thread Gibson
You need this android.permission.READ_PHONE_STATE public String getDeviceId () Since: API Level 1 Returns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available. Requires Permission: READ_PHONE_STATE On 10月13日, 下午1时22分, A N