Menu
Sites
Language
ServiceNotAvailable

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.

Responses

3 Replies
Jason Chang

from the IDE debug log I captured the following:

05-29 17:41:36.625 : ERROR / WRT_PLUGINS/TIZEN ( 14153 : 14153 ) : SAServiceProfileLoader.cpp: parseXML(397) > Failed to open xml file.

05-29 17:41:36.630 : INFO / ConsoleMessage ( 14153 : 14153 ) : file:///opt/usr/apps/VchtmeaoLU/res/wgt/js/app.js:21:VVMConsumer:app:err[ServiceNotAvailableError] msg[Failed to register SAAgent.]

I do not understand why the SAServiceProfileLoader.cpp complaint "Failed to open xml file".

Could it be a bug in the framework of TIZEN for wearable ?

Cound Samsung developer help to find the root cause of this.

 

 

Thanks

Jason Chang

Francis Wheeler

Thanksmate.

Deirdre Jones

thank bro