售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Arduino Android Blueprints
Table of Contents
Arduino Android Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Setting Up Your Workspace
Hardware and software requirements
Installing Java Developer Kit
Checking the JDK version
Mac
Windows
Installing Java
Installing Android Studio
Mac
Windows
Setting up the Android Software Development Kit
Setting up your physical Android device for development
Enabling Developer options
Enabling USB debugging
Entrusting the computer with the installed IDE using secure USB debugging (devices with Android 4.4.2)
Hardware configuration
Learning to use the aREST library
Creating your first Android project
Setting up your first Hello Arduino project
Installing your app on your physical device
Summary
2. Controlling an Arduino Board via Bluetooth
Hardware and software requirements
Configuring the hardware
Writing the Arduino sketch
How to create a simple Android app to connect to the BLE module
Modifying the Android layout file
Connecting the modified layout to the corresponding activity
How to go further
Summary
3. Bluetooth Weather Station
Hardware and software requirements
Hardware configuration
Testing the sensors
Writing the Arduino sketch
Wireframing our Android application and modifying the layout files
Implementing Android layouts in the main activity
Enhancing the user interface
Creating and adding our very own app icon
Centering and enlarging the data output text
Modifying the buttons and adding some color to our text
How to go further
Summary
4. Wi-Fi Smart Power Plug
Hardware and software requirements
Configuring the hardware
Testing the relay
Writing the Arduino sketch
Wireframing our Android application
Implementing our layouts into the code
Polishing the user interface and experience
Adding a new app icon
Centering and enlarging the data output text
Aligning and styling the buttons
Changing the application name within the action bar
How to go further
Summary
5. Wi-Fi Remote Security Camera
Hardware and software requirements
Hardware configuration
Setting up video streaming
Implementing a fullscreen stream player on Android
How to go further
Summary
6. Android Phone Sensor
Hardware and software requirements
Configuring the hardware
Testing the servo
Writing the Arduino sketch
Setting up the Android app project
Laying out the Android user interface and permissions
Setting up the app's internals
How to go further
Summary
7. Voice-activated Arduino
Hardware and software requirements
Configuring the hardware
Writing the Arduino sketch
Setting up the Android app
Laying out the Android user interface and permissions
Coding the app's internals
How to go further
Summary
8. Control an Arduino Board via NFC
Hardware and software requirements
Configuring the hardware
Testing the NFC shield
Writing the Arduino sketch
Setting up the Android app
Laying out the Android user interface and permissions
Coding the app's internals
How to go further
Summary
9. Bluetooth Low Energy Mobile Robot
Hardware and software requirements
Configuring the hardware
Testing the robot
Writing the Arduino sketch
Setting up the Android app
Laying out the Android user interface and setting permissions
Coding the app's internals
Enhancing the user interface further
Adding a new app icon
Styling the user interface buttons
How to go further
Summary
10. Pulse Rate Sensor
Hardware and software requirements
Configuring our hardware
Testing the sensor
Writing the Arduino sketch
Setting up the Android app
Laying out the Android user interface and setting permissions
Coding the app's internals
How to go further
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜