How to grant permission dynamically in android, i.e while running an application, Is this achievable?
<p>I have few doubts.</p>

<ol>
<li><p>Is it possible for Android application after installation, to ask user for permission for accessing certain functions? Like say the app A wants to read contacts for a specific purpose. If the user grants permission, then the activity will take place. Else it wont. Is it possible? </p></li>
<li><p>Is there a way of allowing user to select/de-select permissions during installation time?</p></li>
<li><p>I have read that using CyanogenMod grants user these kind of priveleges. Is there any solution for non-rooted user, apart from take-it-or-leave-it approach?   </p></li>
</ol>
