Changing Permissions? [Android-SDL2]
-
- Prole
- Posts: 14
- Joined: Wed Dec 02, 2015 11:14 pm
Changing Permissions? [Android-SDL2]
How would I change the permissions of my app created using the Android-SDL2? I've looked around and found out that you can, but what I didn't find was how to do it. Anyone know?
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: Changing Permissions? [Android-SDL2]
These one is easy, just edit the first part of the AndroidManifest.xml, just before "<application"TheWaffleDimension wrote:How would I change the permissions of my app created using the Android-SDL2? I've looked around and found out that you can, but what I didn't find was how to do it. Anyone know?
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<manifest package="org.love2d.android"
android:versionCode="17"
android:versionName="0.10.0-alpha2"
android:installLocation="auto" xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Here starts the permissions -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!-- Allow writing to external storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Here they end-->
<application
-
- Prole
- Posts: 14
- Joined: Wed Dec 02, 2015 11:14 pm
Re: Changing Permissions? [Android-SDL2]
Wow, you're active.master both wrote: These one is easy, just edit the first part of the AndroidManifest.xml, just before "<application"
I'm doing this all on Windows, so the text is jumbled up due to the way Notepad works. Probably should've loaded it up in Notepad, or something that would support the formatting before I saved it. :/ (Could just download it again.)
EDIT: Nevermind, didn't have to redownload it, just load it in Notepad++. That saved me time.
Who is online
Users browsing this forum: No registered users and 1 guest