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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Android Projects

You're reading from   Raspberry Pi Android Projects Create exciting projects by connecting the Raspberry Pi to your Android phone

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785887024
Length 138 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Gökhan Kurt Gökhan Kurt
Author Profile Icon Gökhan Kurt
Gökhan Kurt
Arrow right icon
View More author details
Toc

Connecting from an Android app


We have used an existing app to connect to the BLE service that we implemented on Raspberry Pi. This app, called BLE Scanner, is very general purpose and would work for any kind of BLE device. However, we need a more specialized app that only reads measurements and abstracts away details of the BLE protocol, such as device scan, services, and service characteristics. In this section, we will implement an Android app to connect to the Raspberry Pi BLE. We need to install the Android Studio for this purpose. Android studio is specifically designed for Android app development by Google. You can read more about it by visiting http://developer.android.com/tools/studio/. You can find instructions for installation at http://developer.android.com/sdk/. We will use a real device to test our app and not the built-in emulator. For this purpose, you may need to install device drivers specific to your Android phone and make configuration changes to the Android Studio installation...

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