Basem Basem - 1 year ago 204
Android Question

Manifest permission in Android Studio

I want to know if I can add permissions to the Manifest in Android Studio in the same way as in eclipse. What I mean is the permission tab that is generating for you automatically instead of putting it manually.

The Question here is if there is an option that makes it automatically instead of adding it manually!

Answer Source

Yes you can definitely do it manually. In fact, using the Studio is better for newbies since it avoids errors to certain extent!

EDIT: You can only type them manually, but the content assist helps you there, so it is pretty easy.

Add this line

<uses-permission android:name="android.permission."/> 

and hit ctrl + space after the dot (or cmd + space on Mac). If you need an explanation for the permission, you can hit ctrl + q.

Reference: Here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download