Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Intel Edison Projects

You're reading from  Intel Edison Projects

Product type Book
Published in May 2017
Publisher Packt
ISBN-13 9781787288409
Pages 264 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Avirup Basu Avirup Basu
Profile icon Avirup Basu
Toc

Table of Contents (7) Chapters close

Preface 1. Setting up Intel Edison 2. Weather Station (IoT) 3. Intel Edison and IoT (Home Automation) 4. Intel Edison and Security System 5. Autonomous Robotics with Intel Edison 6. Manual Robotics with Intel Edison

Android application for controlling Intel Edison using MQTT

In the previous section, we saw how an Android application can be used to subscribe and publish to a channel using a broker. Here, in this section, we'll develop our own Android application for controlling the device using MQTT. The section won't concentrate on the set up of the Android, but will concentrate on the development side of it. We're going to use the Android Studio IDE for the development of the application. Make sure it's configured with all the latest SDKs.

Open your Android Studio:

Android Studio—1

Now, select Start a new Android Studio project:

Android Studio—set up application name

Enter a name for your application; here, we've entered MQTT. Click on Next to continue:

Android Studio: set API level

Now select the Minimum SDK version. Select API 23: Android 6.0 (Marshmallow). Now let's select...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime