[Android]Bluetooth Smart Android application code

转贴: CSR公司还支持APT-X Bluetooth 编码技术

Android 4.3 Jelly Bean introduced a standardised API for Bluetooth® Smart (previously known as Bluetooth Low Energy) application developers. CSR is committed to supporting developers in creating engaging Bluetooth Smart products, and part of that product development includes the creation of applications for smartphones and tablets.

What have we created for developers?

CSR has built a framework application for Bluetooth Smart on Android (application skeleton code). The framework application demonstrates how to connect to and communicate with a Bluetooth Smart accessory using the Android 4.3 GATT API.

Using this framework we have created an application supporting the Heart Rate profile. This profile uses a SIG defined GATT database to communicate with chest worn heart rate monitors.

We have written a guide that shows how to build the heart rate application from the CSR framework. All of the source code and the final application can be downloaded from CSR support:

Example Bluetooth Smart Android application code

What can you do with this code?

The Android API for Bluetooth Smart has some known issues. In our example code we have done what we can to give you a head start in dealing with these.

As a registered CSR developer you can take this code as and use it in any way you choose to create your own application. We have concentrated on the Bluetooth Smart functionality using very basic graphics and expect that you will want to create your own user experience.

Android has a huge share of the global market for smart devices (nearly 80%, according to IDC’s latest figures) and we look forward to seeing the results of your development. Stay tuned as we release more example applications and profiles in the coming months.

你可能感兴趣的:([Android]Bluetooth Smart Android application code)