Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Share data with Android Wear

I have an integer saved in shared preferences on my mobile app and I would like to display that integer value in a textview on Android Wear. How would I go about this? Thanks

1 Answer

Gergő Bogdán
Gergő Bogdán
6,664 Points

As I know, when you develop an Android app and that is installed to your android phone, that will automatically check if you have an Android Wear device connected to the phone. If you have one, then it will install the same application on the wear device, of course with different layout and fewer functionalities.

For more info on Android Wear and how it will work take a look at the Google I/O conference keynote.

You can check out the technical details on Android Developer Website.