Hardware Reference
In-Depth Information
TOOTH_ADMIN . These two entries request permission from the user to access the named
services when the application is installed.
Figure 8-5. The Android Manifest Permissions window
Now, you need to move class files from the Bluetooth Application Accelerator into your
project. That will make the classes and methods available to you, many of which make
BLE programming much easier. Select and copy the following files:
BleWrapper.java
BleWrapperUiCallbacks.java
BleNamesResolver.java
BleDefinedUUIDs.java
Paste the files into the /src directory of the BleSensorTag project (or drag and drop them
into that directory). Once you've added these files, the /src directory should look like
Figure 8-6 .
 
Search WWH ::




Custom Search