Welcome! Log In Create A New Profile

Advanced

WM24 - Android manifest question

Posted by ArieM 
WM24 - Android manifest question
February 13, 2021 03:15PM
HI,

I'm trying to add the following to the manifest, when generating my Android app
<application>
    <provider android:name="android.support.v4.content.FileProvider"
        android:authorities="nl.ariezona.myapp.fileprovider"
        android:grantUriPermissions="true"
        android:exported="false">
            <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths"/>
    </provider>
</application>

No problem so far, but it also requires a file called provider_paths.xml with the following content

<paths xmlns:android="[schemas.android.com];
    <external-path name="external_files" path="/Atas"/>
    <files-path name="files" path="/Atas"/>
</paths>

Normally this file should be in the Resources/xml map - but how to do that with WM ?
I tried the option to integrate files in one of the first screens of the apk-wizard. I can even chose "XML" as the destination, but the build process still thorws an error saying the file is missing.;

Arie
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: