ServiceNotAvailable

ServiceNotAvailable

BY 29 May 2014 General Support

Hi;

I’m working on the Gear 2 VVM application and follow the HelloAccessory example.

I got the error callback in webapis.sa.requestSAAgent(onSuccess, onError) of my VVMConsumer app.

The error log shows:

    “VVMConsumer:app:err[ServiceNotAvailableError] msg[Failed to register SAAgent.]”

By reading the webapis document, it says:

ServiceNotAvailableError : If the device does not support the Samsung Accessory feature, the error callback is invoked with the message VENDOR_NOT_SUPPORTED or DEVICE_NOT_SUPPORTED.

I’m confused and I couldn’t figured out what I did wrong in Android provider code or Gear 2 device consumer code.

What could possible coding error cause this error ? Please help.

Thanks in advance.

Written by