简体   繁体   中英

Tizen Gear 2 to Android Native Java App Communication

I'm trying to send data between my gear 2 web JavaScript app and a android native Java app. I am extremely new to Java programming but very familiar with JavaScript.

all the examples of this I've seen online have an issue with the com.samsung lines of code in the Java.... for example

<service android:name="com.samsung.android.example.helloaccessoryprovider.service.HelloAccessoryProviderService" >

I'm using Android Studios....

If anyone is able to provide a working example that I can use as a template I would be most grateful :) because none of the online "Working" examples I've tried seem to work....

Do you want a working sample of the Companion Operation?

You can learn the Companion operation from Samsung Developer Public Web Site, below.

http://developer.samsung.com/gear/develop/creating-your-first-app

and You can get a working sample here for various purpose, below. http://developer.samsung.com/gear/develop/samples/companion

Good luck to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM