Android 2.3.3 service application runns clearly but on 3.2 galaxy tab it does work but get force closed

后端 未结 1 1546
你的背包
你的背包 2021-01-28 03:06

i have the following service running on the sonny erricson xperia Ray 2.3 android which runns perfectly. it is designed to automatically disable bluetooth and WiFi when ever the

相关标签:
1条回答
  • 2021-01-28 03:34

    The Android reference states that you should not call BluetoothAdapter.disable() without explicit user action. This means you should not call this method automatically when the device boots. This may be the reason for your error.

    Reference: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#disable()

    0 讨论(0)
提交回复
热议问题