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:

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:
Now select one of this device and click on Create AVD:
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:
and our app running on this device:
Enjoy the new devices!

About The Author

I'm an electronic engineer with over 15 years of
experience in computer programming. I'm the author of the book "Android things projects". I'm a MVB at DZone and DZone Guide Author. I have contributed to the IoT guide. I'm the technical reviewer of the book Internet of Things with Arduino Blueprints(published by PacktPub). I love creating IoT projects using Arduino, Raspberry Pi,
Android, and other platforms. I am interested in the convergence
between IoT and the mobile applications. I'm SCEA, SCWCD, and SCJP
certified.
Follow on: Twitter | Linkedin

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Sign up for our Newsletter

Enter your email and stay on top of things,

Get SwA updates delivered to your inbox. Article, tips, source code

×

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.