I am making a third-party library on Android for other coders.
The Android 6.0 makes all permissions requested by run-time, and it should 
depend on Activity when you request permissions or get callback.

But for my library I only have Context, so how could I request permissions 
in this case?
I want my library to ask for permissions by itself, but not the other 
coders to request permissions instead of me.

I am seeking for a solution for that, and I need help.
Anyone could help me on this?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/99e8ffeb-d9b3-47b8-ace9-83631b17410c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to