Thursday, January 23, 2014

Android restart running process


            
I wrote a program
Bluetooth communicationMyApplication in registering a broadcast monitor the local Bluetooth device on / off;
Open when the service is started btServer end (this class will be blocked inside acceptThread server.accept ())
Turn off Bluetooth when to turn off the server;
Then I opened another Activity inside the Bluetooth. . Turn off Bluetooth. . Thus twice, the system will restart the process directly back to the main screen of the
May I ask how this is going?

No comments:

Post a Comment