processing/processing-android

requestPermission does not work

clankill3r opened this issue · 2 comments

I get nothing off a popup.

I looked here and did all those things.
#699

Android 7.0.
Processing 4.3.

I get nothing off a popup.

I looked here and did all those things. #699

Android 7.0. Processing 4.3.

still using Android 7.0 👀

I digged deep down into it sometime back, problem should be in android 10+, dont know why you are getting it, need to confirm it with manual testing.

thanks @clankill3r for reporting the bug, will look into it.

Thanks,
Aditya

hello,

any update to this?
having trouble saving photos on android 12 using the ketai library.

i get error: "failed to create directory to save photo"

this is how manifest.xml looks

<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="">
    <application android:icon="@mipmap/ic_launcher" android:label="">
        <activity android:exported="true" android:name=".MainActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        android:requestLegacyExternalStorage="true"
    </application>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</manifest>

thanks a lot!