Building Arduino Projects for the Internet of Things

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

Once you have downloaded the library, switch the view of Android Studio from
Android to Project, as shown in Figure  6-15.


Figure 6-15. Switch perspective from Android to Project


Figure 6-16. Import library to resolve dependencies


Expand LightingControlSystem ➤ App and paste the MQTT library in the libs
folder. Figure  6-16 shows the libs folder where all libraries need to be pasted.

Free download pdf