You are on page 1of 1

Why GitHub?

Enterprise Explore Marketplace Pricing Search Sign in Sign up

bauerjj / Android-Simple-Bluetooth-Example Watch 7 Star 62 Fork 66

Code Issues 1 Pull requests 0 Projects 0 Insights

Dismiss
Join GitHub today
GitHub is home to over 36 million developers working together to host and
review code, manage projects, and build software together.

Sign up

Simple Android Bluetooth example to turn on/off radio and to view and connect with devices. Has associated code to connect to an
Arduino. http://mcuhq.com/27/simple-android-bl…

39 commits 1 branch 0 releases 5 contributors MIT

Branch: master New pull request Find File Clone or download

bauerjj Merge pull request #9 from quangtrung2402/master … Latest commit f84b4f6 on Mar 19

app Fix bug duplicate paired devices if touch [SHOW PAIRED DEVICES] multi… 2 months ago

gradle/wrapper initial 3 years ago

.gitignore Removing unnecessary file 2 months ago

.travis.yml Update .travis.yml 9 months ago

LICENSE Initial commit 3 years ago

Logotype primary.png Add banner 9 months ago

README.md fix header 9 months ago

build.gradle get travis working 9 months ago

gradle.properties initial 3 years ago

gradlew initial 3 years ago

gradlew.bat initial 3 years ago

logo.png update the readme to better align with the new format 9 months ago

settings.gradle initial 3 years ago

README.md

Android-Simple-Bluetooth-Example

build passing

A simple Android bluetooth example to turn on/off the radio and to view and connect with other devices. It has associated
embedded firmware code to connect to an Arduino to test the bi-directional data stream.

For a complete tutorial write-up, please see here:

http://mcuhq.com/27/simple-android-bluetooth-application-with-arduino-example

Introduction
This is a simple demo app that creates buttons to toggle ON/OFF the bluetooth radio, view connected devices, and to
discover new bluetooth enabled devices. A checkbox and status strings provide functionality to communicate with an
embedded microcontroller such as an Arduino. You don't necessarily need to connect an Arduino to still have a functioning
phone application. The connected device MUST abide by the Serial Port Profile (SPP). Other complex profiles are not
supported with this example and will fail to connect.

Required Tools
1. Android Studio IDE and SDK
2. HC-06 bluetooth module
3. Arudino Uno
4. A few breadboard wires to connect the HC-06 to the Arduino

Setup
1. Clone this repo and open it inside of Android Studio. Note, a later SDK will work just fine (SDK 23+)
2. Build the app
3. Install the app to your connected Android phone. You will need to install special drivers and enable USB debugging on
your phone for this to work. There are plenty of tutorials on the web for this.
4. Clone this Arudino gist and program your Arudino
5. Run the application on your phone after it installs. Connect to the HC-06 and you should see a number incrementing on
the application every second.

Issues
Please submit all issues to the github tracker. Pull requests are also encouraged. General comments can be left either inside
github or at mcuhq.com.

© 2019 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub Pricing API Training Blog About

You might also like