In the development has been very wonderful, from the PC Web front-end to the web back to the iOS to the Android side, every time is a touch of fur because the project needs to go to other platforms, think really feel inappropriate. It was as if it had been a few hours since yesterday's problem.
The following nonsense less said, write trouble shooting.
Previously, according to the online tutorial has run through a demo, the completion of Bluetooth startup, pairing, write commands and activity switch.
The result was two days before the program was re-written, and then added some forward features, the previously written code and XML files were added to the project, but the process and the Bluetooth turned on caused the program to pop out. Previously thought is the context of the XML in the road to write wrong, toss to toss to go or not to fix it, until re-read the Android develop tutorial found altogether all because forgot in Androidmanifest.xml declaration caused!
So make a half-day, because not according to the flow of the process will not remember to configure these obscure things caused.
Future development to remember the steps of each process, otherwise the impact on efficiency is too big!