First thing first, this is an early Beta for those that wish to start playing with Android Wear. There are things that don't work yet or haven't been fully tested yet (Assets, deleting DataMaps, etc).
Relevant threads:
Tutorial to create a Wear AVD - for if you don't have a device
Tutorial for Creating and Packaging a Wear app - required for the Wear app to install on the Wear Device.
What's included in this thread:
On Wearable the DataMap is sync'd and the info displayed on an activity and the the messages are shown as Toasts.
First important edit that I felt I had to find 5 minutes to add
The use of this library requires the inclusion of Google Play Services. Similar to the Android-Support libraries, you have to download this with sdk manager and copy the library files over to your additional libraries folder. A typical place for this would be
Although this path may vary dependent on your installation.
It also requires 'AdditionalRes' (see the attributes in the activity module). Again the path may vary. This is just for the Version ID of Play Services.
I will spruce this post up a bit more when I get time.
Relevant threads:
Tutorial to create a Wear AVD - for if you don't have a device
Tutorial for Creating and Packaging a Wear app - required for the Wear app to install on the Wear Device.
What's included in this thread:
- The DataLayer Library Beta - this library is what is required for communications between your Handheld and the Wearable
- Example projects - there are 2 projects, one is the Wearable app and the other is the HandHeld app. The Handheld already has the apk for the Wearable packaged inside so it is ready to go. Compile and install the Handheld project and both parts will install. I've had to upload Handheld project to DropBox for now as it is too big for the forum limits Download Here
On Wearable the DataMap is sync'd and the info displayed on an activity and the the messages are shown as Toasts.
First important edit that I felt I had to find 5 minutes to add
The use of this library requires the inclusion of Google Play Services. Similar to the Android-Support libraries, you have to download this with sdk manager and copy the library files over to your additional libraries folder. A typical place for this would be
C:\Program Files\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\libs
Although this path may vary dependent on your installation.
It also requires 'AdditionalRes' (see the attributes in the activity module). Again the path may vary. This is just for the Version ID of Play Services.
I will spruce this post up a bit more when I get time.
Attachments
Last edited: