|
|
|
|
|
by fredrik-j
3870 days ago
|
|
I have to add that the Facebook app does not have to have or ask for any permission at all to let the user pick an image to publish in their stream. It can use Android Intents to delegate to the user's choice of image picker app to do that[0]. The Intent system[1] is the real ingenuity of the original Android platform. I wish it was used more. Unfortunately most apps choose to implement things like picking an image or an address from the address book in their own code instead - thus more or less forcing the user to submit excessive permissions to the app to get anything done - rather than using the intent system. The 6.0 on demand permissions may be a decent step forward from the old way of forcing the user to hand over all permissions at install time. Even better would be if the user could indicate to the app that it should use an intent based solution instead requesting a certain permission. Obviously there are exceptions to this, some tasks require permissions and cannot be resolved with intents. [0] http://stackoverflow.com/questions/5309190/android-pick-imag...
[1] https://developer.android.com/guide/components/intents-filte... |
|