Android Open Source - Hardware bluetooth AndroidBluetoothGattSample






Project Summary

Google Sample Code for Bluetooth LE on Android.

Web Site / Source Repository

AndroidBluetoothGattSample is hosted in the following web site
https://github.com/chuks/AndroidBluetoothGattSample

If you think the Android project AndroidBluetoothGattSample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of AndroidBluetoothGattSample.

ItemValue
Java File Count5
Supported screen sizes[mdpi, xxhdpi, hdpi, xhdpi]
Target SDK Version18
Minimum SDK Version18
Activity Count4
jar files usedclasses-80fde9e951924f49d8124b32edb63ae7ca7e981f.jar
classes-9ae50419934d53a9efb784e484ce4f9ae318e15f.jar
classes.jar
classes.jar
support-v4-19.1.0-d5fff3671c465a150d3a85ef5d4322e5b8ab517e.jar
Required Permissionsandroid.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN




Resource Files

There are 56 image files in AndroidBluetoothGattSample. The names of the image files are listed as follows.

abc_ab_bottom_solid_dark_holo.9.png
abc_ab_bottom_solid_light_holo.9.png
abc_ab_bottom_transparent_dark_holo.9.png
abc_ab_bottom_transparent_light_holo.9.png
abc_ab_share_pack_holo_dark.9.png
abc_ab_share_pack_holo_light.9.png
abc_ab_solid_dark_holo.9.png
abc_ab_solid_light_holo.9.png
abc_ab_stacked_solid_dark_holo.9.png
abc_ab_stacked_solid_light_holo.9.png
abc_ab_stacked_transparent_dark_holo.9.png
abc_ab_stacked_transparent_light_holo.9.png
abc_ab_transparent_dark_holo.9.png
abc_ab_transparent_light_holo.9.png
abc_cab_background_bottom_holo_dark.9.png
abc_cab_background_bottom_holo_light.9.png
abc_cab_background_top_holo_dark.9.png
abc_cab_background_top_holo_light.9.png
abc_ic_ab_back_holo_dark.png
abc_ic_ab_back_holo_light.png
abc_ic_cab_done_holo_dark.png
abc_ic_cab_done_holo_light.png
abc_ic_clear_disabled.png
abc_ic_clear_normal.png
abc_ic_clear_search_api_disabled_holo_light.png
abc_ic_clear_search_api_holo_light.png
abc_ic_commit_search_api_holo_dark.png
abc_ic_commit_search_api_holo_light.png
abc_ic_go.png
abc_ic_go_search_api_holo_light.png
abc_ic_menu_moreoverflow_normal_holo_dark.png
abc_ic_menu_moreoverflow_normal_holo_light.png
abc_ic_menu_share_holo_dark.png
abc_ic_menu_share_holo_light.png
abc_ic_search.png
abc_ic_search_api_holo_light.png
abc_ic_voice_search.png
abc_ic_voice_search_api_holo_light.png
abc_list_focused_holo.9.png
abc_list_longpressed_holo.9.png
abc_list_pressed_holo_dark.9.png
abc_list_pressed_holo_light.9.png
abc_list_selector_disabled_holo_dark.9.png
abc_list_selector_disabled_holo_light.9.png
abc_menu_dropdown_panel_holo_dark.9.png
abc_menu_dropdown_panel_holo_light.9.png
abc_menu_hardkey_panel_holo_dark.9.png
abc_menu_hardkey_panel_holo_light.9.png
abc_spinner_ab_default_holo_dark.9.png
abc_spinner_ab_default_holo_light.9.png
abc_spinner_ab_disabled_holo_dark.9.png
abc_spinner_ab_disabled_holo_light.9.png
abc_spinner_ab_focused_holo_dark.9.png
abc_spinner_ab_focused_holo_light.9.png
abc_spinner_ab_pressed_holo_dark.9.png
abc_spinner_ab_pressed_holo_light.9.png

The following screenshort is generated from the image listed above.

null




Java Source Files

AndroidBluetoothGattSample has the following Java source files.

com.example.android.bluetoothlegatt.BluetoothLeService.java
com.example.android.bluetoothlegatt.BuildConfig.java
com.example.android.bluetoothlegatt.DeviceControlActivity.java
com.example.android.bluetoothlegatt.DeviceScanActivity.java
com.example.android.bluetoothlegatt.SampleGattAttributes.java