开发者

Unethical to toggle bluetooth?

Is it unethical to programatically toggle BT on/off without user's permission each time? Does Google take down apps that do that? I se开发者_如何学运维e that it is made explicitly that user's permission should be given in order to toggle BT on/off in the guide, but how is it enforced?

Thanks


The ethics is a gray area. You did declare you have permission, but you may want to put up a notification/warning of some sort.

From what I read. You have to declare permissions for things you access outside your application.


In order to use Bluetooth at all you have to ask permission from the Android OS in your app's Manifest. I would imagine that if Google wanted apps to explicitly get user permissions it would do it automatically at this point.


you shouldn't be turning it on and off like that, have a look at the different states a bluetooth device goes through to see if that helps you solve the problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜