It's been a while, but anyone still using this and managed to resolve the crash when you plug the power back in? I've played with a few permissions in the XML but so far no good.


W/ActivityManager( 856): Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=8265, uid=10062
D/AndroidRuntime( 8265): Shutting down VM
W/dalvikvm( 8265): threadid=1: thread exiting with uncaught exception (group=0x41b60ce0)
E/AndroidRuntime( 8265): FATAL EXCEPTION: main
E/AndroidRuntime( 8265): Process: com.garmin.android.apps.gmobilext, PID: 8265
E/AndroidRuntime( 8265): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 } in com.garmin.android.apps.gmobilext.GMobileXTGUINativeActivity$1@41e10088
E/AndroidRuntime( 8265): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778)
E/AndroidRuntime( 8265): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 8265): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 8265): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 8265): at android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime( 8265): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8265): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 8265): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 8265): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 8265): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8265): Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=8265, uid=10062
E/AndroidRuntime( 8265): at android.os.Parcel.readException(Parcel.java:1465)
E/AndroidRuntime( 8265): at android.os.Parcel.readException(Parcel.java:1419)
E/AndroidRuntime( 8265): at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2390)
E/AndroidRuntime( 8265): at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1174)
E/AndroidRuntime( 8265): at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:365)
E/AndroidRuntime( 8265): at com.garmin.android.apps.gmobilext.GMobileXTGUINativeActivity.doMTPScan(GMobileXTGUINativeActivity.java:966)
E/AndroidRuntime( 8265): at com.garmin.android.apps.gmobilext.GMobileXTGUINativeActivity$1.onReceive(GMobileXTGUINativeActivity.java:214)
E/AndroidRuntime( 8265): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768)
E/AndroidRuntime( 8265): ... 9 more
W/ActivityManager( 856): Force finishing activity com.garmin.android.apps.gmobilext/.GMobileXTGUINativeActivity