Hi,
I installed the HelloAccessoryProvider.apk (actually I'm going through this guide: http://img-developer.samsung.com/contents/cmm/SamsungGearApplication_HelloAccessory_Developers_Guide_1.1.pdf) first building it from source and deploying it via Eclipse and then installing the apk from the folder "Install apk" using the adb in the windows command line. For both installation completed without any error but when I press the connect button on the Gear 2 on the Note 3 the message "Hello Accesorry(P) angehalten" (angehalten = stopped) is displayed.
In the LogCat the following error is displayed:
09-07 20:25:59.884: W/dalvikvm(13324): threadid=1: thread exiting with uncaught exception (group=0x41777da0) 09-07 20:25:59.894: E/AndroidRuntime(13324): FATAL EXCEPTION: main 09-07 20:25:59.894: E/AndroidRuntime(13324): Process: com.samsung.android.example.helloaccessoryprovider, PID: 13324 09-07 20:25:59.894: E/AndroidRuntime(13324): java.lang.RuntimeException: Unable to start receiver com.samsung.android.sdk.accessory.ServiceConnectionIndicationBroadcastReceiver: java.lang.RuntimeException: Parcel android.os.Parcel@429abcd0: Unmarshalling unknown type code 7209057 at offset 6812 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2554) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.app.ActivityThread.access$1700(ActivityThread.java:163) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1333) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Handler.dispatchMessage(Handler.java:102) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Looper.loop(Looper.java:157) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.app.ActivityThread.main(ActivityThread.java:5335) 09-07 20:25:59.894: E/AndroidRuntime(13324): at java.lang.reflect.Method.invokeNative(Native Method) 09-07 20:25:59.894: E/AndroidRuntime(13324): at java.lang.reflect.Method.invoke(Method.java:515) 09-07 20:25:59.894: E/AndroidRuntime(13324): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) 09-07 20:25:59.894: E/AndroidRuntime(13324): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) 09-07 20:25:59.894: E/AndroidRuntime(13324): at dalvik.system.NativeStart.main(Native Method) 09-07 20:25:59.894: E/AndroidRuntime(13324): Caused by: java.lang.RuntimeException: Parcel android.os.Parcel@429abcd0: Unmarshalling unknown type code 7209057 at offset 6812 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Parcel.readValue(Parcel.java:2080) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Parcel.readArrayMapInternal(Parcel.java:2313) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Bundle.unparcel(Bundle.java:249) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.os.Bundle.getString(Bundle.java:1118) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.content.Intent.getStringExtra(Intent.java:4991) 09-07 20:25:59.894: E/AndroidRuntime(13324): at com.samsung.android.sdk.accessory.ServiceConnectionIndicationBroadcastReceiver.onReceive(Unknown Source) 09-07 20:25:59.894: E/AndroidRuntime(13324): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2539) 09-07 20:25:59.894: E/AndroidRuntime(13324): ... 10 more
Would be great if anybody could help me here!
Greetings
Sebastian