* The Android Bluetooth serial app downloaded online is based on Eclipse, but there are problems when importing into as.
The last thing I used was to create a new project under as and import the relevant files. However, there are other problems encountered.
* Some Bluetooth related function error, prompt similar to this "call requires API Level 8", in the Internet to find the solution provided by netizens to solve:
Yes, the problem is resolved after modifying to "Minsdkversion 18".
* Also need to add Bluetooth permission information, as well as the project to use the activity registration information, this should refer to the original project "Androidmanifest.xml" in the content
* After compiling, run the program, flashback, check is Getactionbar () The null pointer abnormal caused, but the fundamental reason or "androidmanifest.xml" in the contents of the wrong
In the red box, I'm done with the changes.
* I send a long string, and Bluetooth can only send very little data at a time, so I can only sub-package send.
In the design of the subcontracting, I used the handler postdelayed (Runnable, long) method to see
Modify Android serial Bluetooth app issue record