Download presentation
Presentation is loading. Please wait.
1
Design Your Own Android App
Day 2: Bluetooth the Way 06/25/2013 Fred Eady
2
Our Bluetooth App Bluetooth 101 Bluetooth Hardware
Coding the B4A Application
3
Bluetooth Protocol Stack
4
SENA SPP Starter Kit
5
SENA Bluetooth Protocol Stack
6
Bluetooth App Build Steps
Build a B4A Bridge Design the User Interface Code the B4A Application
7
Build the B4A Bridge
8
Design the User Interface
Define the Discover Activity Title Layout the Discover Activity View
9
Design the User Interface
Customize the SCAN FOR DEVICES Button
10
Design the User Interface
Customize the Information Text View
11
Design the User Interface
Define the Data Activity Title Layout the Data Activity View
12
Design the User Interface
Layout the Data User Interface Customize the ABCD Button View
13
Design the User Interface
Customize the Data Text View Incoming Data is a Label
14
Main Module Code Dim Process Globals Generate Globals
Initialize Objects Load Activity Layout Display Bluetooth Address Enable Bluetooth Adapter
15
Data Module Code Process Globals Generate Globals Load Layout Receive Data Send Data
16
Target -> SENA SPP Starter Kit
Running Bluetooth App Target -> SENA SPP Starter Kit Data Module Code Process Globals Generate Globals Load Layout Receive Data Send Data
17
Running Bluetooth App Target -> SENA SPP Starter Kit
18
Running Bluetooth App Target -> SENA SPP Starter Kit
19
Running Bluetooth App Target -> SENA SPP Starter Kit
20
Tera Term Pro View Target -> SENA SPP Starter Kit
21
Log Display
22
Day 2 Summary Native Bluetooth and Serial Libraries Design User Interface on Actual Device Debugging via B4A Bridge in Real Time Post User-Specified Log Events
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.