HelloAccessory_web: Provider(Tizen)_Consumer(Android) Connection Issue

Original Created May 02, 2016 | Regeneration Apr 22, 2026

I'm trying to implement the HelloAccessory_web example with Provider(Tizen) and Consumer(Android). While the Provider(Tizen) part works fine, I'm encountering an issue with the Consumer(Android) part.

When I import and run the Consumer(Android) application, I get the following error:

$ adb shell pm install -r "/data/local/tmp/provider.helloaccessory.example.accessory.sdk.android.samsung.com.helloaccessoryprovider"
pkg: /data/local/tmp/provider.helloaccessory.example.accessory.sdk.android.samsung.com.helloaccessoryprovider
Success

Could not identify launch activity: Default Activity not found
Error while Launching activity

The connection and fetch operations are not working. How can I resolve this issue?

Problem Understanding

The error occurs because you're trying to install and run the wrong package. The HelloAccessoryProvider doesn't have a UI component, which is why you're getting the "Default Activity not found" error. You need to install the HelloAccessoryConsumer package instead.

Solution Methods

  1. Correct Package Installation:

    • For Provider(Tizen)_Consumer(Android) configuration, you should install the HelloAccessoryConsumer on your Android device.
    • The correct package name is: "com.samsung.android.sdk.accessory.example.helloaccessory.consumer"
  2. Location of Correct Package:

    • The correct APK is located in: .../HelloAccessory_Web/Provider(Tizen)_Consumer(Android)/Consumer/app/..
  3. Default Activity:

    • The default activity for the consumer app is: com.samsung.android.sdk.accessory.example.helloaccessory.consumer.ConsumerActivity

Additional Tips

  • Make sure you're using the correct configuration:
    • For Provider(Tizen)_Consumer(Android):
      • Provider runs on Gear device
      • Consumer runs on Host device with UI
  • For detailed implementation, refer to the official documentation: HelloAccessory Sample App

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.