Changing Permissions? [Android-SDL2]

A project to port LÖVE to Android handhelds
Locked
TheWaffleDimension
Prole
Posts: 14
Joined: Wed Dec 02, 2015 11:14 pm

Changing Permissions? [Android-SDL2]

Post by TheWaffleDimension »

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?
User avatar
master both
Party member
Posts: 262
Joined: Tue Nov 08, 2011 12:39 am
Location: Chile

Re: Changing Permissions? [Android-SDL2]

Post by master both »

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?
These one is easy, just edit the first part of the AndroidManifest.xml, just before "<application"

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
TheWaffleDimension
Prole
Posts: 14
Joined: Wed Dec 02, 2015 11:14 pm

Re: Changing Permissions? [Android-SDL2]

Post by TheWaffleDimension »

master both wrote: These one is easy, just edit the first part of the AndroidManifest.xml, just before "<application"
Wow, you're active. :P
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.
Locked

Who is online

Users browsing this forum: No registered users and 5 guests