How does android modify the maximum number of Bluetooth search devices?
In this file, modify the following parameters of the function:
Bool btmtk_gap_discovery (native_data_t * nat, btbm_discovery_type mode)
{
...
Req_p-> inquiry_number = 25; // the number can be modify less than 25
Android Bluetooth development issues, automatically scans for code of other Bluetooth devices every 30 seconds
Handler handler1 = new Handler (){
/* (Non-Javadoc)
* @ See android. OS. Handler # handleMessage (android. OS. Message)
*/
@ Override
Public void handleMessage (Message msg ){
// TODO Auto-generated method stub
Switch (msg. what)
{
Case 2:
This. sendMessageDelayed (doCircle (), 3*1000 );
This. obtainMessage (2 );
Break;
Default:
Super. handleMessage (msg );
}
}
};
In doCircle (), write your scan function.
How can I quickly delete a connected bluetooth device from an Android phone?
Simple. Click settings, type an application, type an application, and click "manage" in the "all" dialog box to go up and down. The desired result is cleared under the Bluetooth point. Hope it will help you!