Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 6 ■ IOT PATTERNS: REMOTE CONTROL

Code (Android)


This section provides instructions for developing an Android app that will allow users to
tap on the screen to turn the lights on and off.

Project Setup


In this section, you are going to create a new project in Android Studio to develop an app.
Start Android Studio and create a new Android Studio project.
If you are on the Quick Start screen, as shown in Figure  6-5 , then click on Start a New
Android Studio Project to create a new project.

Figure 6-4. Actual circuit of the lighting control system
Free download pdf