如何将提供商应用程序连接到消费者应用程序?我使用三星S4和Tizen仿真器成功连接了它。但现在我使用S4和Gear 2本身。我使用eclipse和使用齿轮管理器安装的wgt运行应用程序。
js / main.js(44):错误[undefined] msg [undefined] js / main.js(124):exception [TypeError] msg ['null'不是对象(评估'SASocket.setDataReceiveListener')] js / main.js(44):err [undefined] msg [undefined]
答案 0 :(得分:0)
Looks like some error in the main.js. From what I see in the HelloAccessoryProvider this seems to be the issue. console.log("exception [" + err.name + "] msg[" + err.message + "]");
Somewhere you are either missing a quote that is making the string 'msg' being treated like a variable.