Android Core

Android Wear SDK: Set up “Hello world”

In this post I want to describe my first experience with Android Wear SDK.  This is a very simple project just to test how it works and how we can set up the environment. You can refer to this link if you want to have more detailed information.

The first thing you have to do is open Android SDK Manager and be sure that Android SDK Tools (the first item in the list) is 22.6.1, other you have to update it. As soon as you finish the update and restart the SDK Manager, go to Android 4.4.2 open it and you will find the new system image:
 
 
 
 
android_wear_1[4]

Check it and install. At the end you have the new device image!!

Create avd

Once we have our image we can create our virtual device where we can deploy our app. Open AVD Manager go to Device Definition and here there are two new devices:

android_wear_2[4]

Now select one of this device and click on Create AVD:

android_wear_3[4]

At the end click OK. Now we have our device ready!

The next step is creating a simple Project and deploy it on this new device:

Schermata 2014-03-20 alle 22.25.00[4]

and our app running on this device:

Schermata 2014-03-20 alle 22.30.11[4]

Enjoy the new devices!

Reference: Android Wear SDK: Set up “Hello world” from our JCG partner Francesco Azzola at the Surviving w/ Android blog.

Francesco Azzola

He's a senior software engineer with more than 15 yrs old experience in JEE architecture. He's SCEA certified (Sun Certified Enterprise Architect), SCWCD, SCJP. He is an android enthusiast and he has worked for long time in the mobile development field.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button