Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In the case of bluetooth, you can either (1) request BLUETOOTH_ADMIN permission and enable BT yourself, or (2) ask Android to show an "Enable Bluetooth Dialog" (BluetoothAdapter.ACTION_REQUEST_ENABLE) which doesn't require that permission.

But #2 has been busted for a while https://code.google.com/p/android/issues/detail?id=60002

They didn't fix it, and marked it obsolete. So I guess we need BLUETOOTH_ADMIN after all.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: