Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Hardware Interfacing with the BeagleBone Black

You're reading from   Android Hardware Interfacing with the BeagleBone Black Design and implement Android apps that interface with your own custom hardware circuits and the BeagleBone Black

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392161
Length 134 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Exploring the complete example app


In this section, you will examine the example Android app that performs GPIO, I2C, and interfacing on BBB. The purpose of this application is to demonstrate how to use PacktHAL to perform a variety of hardware tasks from within an actual app using a set of interfacing functions. Unlike the previous example apps, which take input from the user, this app takes all of its input directly from the hardware itself. This requires a slightly more complex approach than that taken by the earlier apps.

Before digging through the app's code, you must install the code on your development system and install the app on your Android system. The source code for the app as well as the precompiled .apk package is located in the chapter6.tgz file, which is available for download from the Packt website. Follow the same process to download and add the app to your Eclipse ADT environment, which was described in Chapter 3, Handling Inputs and Outputs with GPIOs.

The app's user interface...

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 $19.99/month. Cancel anytime
Banner background image