Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Introduction: Bluetooth

In Chapter: Bluetooth
Author: Ian Darwin ('idarwin')
Published? true
FormatLanguage: WikiFormat


Bluetooth technology allows connection of a variety of peripherals to a computer, tablet or phone. Headsets, speakers, keyboards, printers; medical devices such as glucometers, ECG: these and many more are available. Some such as headsets will be supported automatically by Android; the more esoteric ones will need some programming. Some of these other devices use SPP, which is basically an unstructured protocol that requires you to write code to format data yourself. We dont have any recipes on these yet,but we do have coverage of how to locate and discover the devices that try to connect.