chr15m / PdDroidParty

Run Pure Data DSP patches on Android - native GUIs emulated.
http://droidparty.net/
GNU General Public License v3.0
64 stars 14 forks source link

Android 14 seems to have removed folder cx.mccormick #69

Open robbielongcat opened 9 months ago

robbielongcat commented 9 months ago

in Android 14, pddroidparty works fine running old patches - but i can no longer see the Android/data/cx.mccormick.pddroidparty folder -

do you know where the patches are now?

apologies if this is just a me problem

robbielongcat commented 9 months ago

i think this is about android preventing me seeing the folder - it must be there to run the previous patches, but it is an issue as i can't move new patches to my phone until i can see the folder.

i'm using google pixel 7a - android 14 connected to my windows PC - the file explorer in windows can access android/data/ and can see all sorts of other apps folders - but for some reason cc.mccormick is no longer visible

there's an argument that this is an android problem more than it's your problem, but if you can't put files onto the phone then your app becomes useless

chr15m commented 9 months ago

Thanks for reporting this. I don't have any time to work on it but I'll put the bug tag on it and hopefully somebody will submit a patch.

robbielongcat commented 9 months ago

cheers Chris

robbielongcat commented 8 months ago

hi - i found this nugget in the "what's changed" in android 14 - it could be what is causing the issue:

Media owner package names might be redacted The value of OWNER_PACKAGE_NAME is redacted unless apps meet certain conditions.

chr15m commented 8 months ago

@robbielongcat do you know any details about "certain conditions"? I guess PdDroidParty needs to be updated to the new method of requesting permissions at runtime.

robbielongcat commented 8 months ago

Media owner package names might be redacted The media store supports queries for the OWNER_PACKAGE_NAME column, which indicates the app that stored a particular media file. Starting in Android 14, this value is redacted unless at least one of the following conditions is true:

The app that stored the media file has a package name that is always visible to other apps. The app that queries the media store requests the QUERY_ALL_PACKAGES permission.

Caution: Use of the QUERY_ALL_PACKAGES permission is subject to Google Play Policy. Learn more about how Android filters package visibility for privacy purposes.

got this from https://developer.android.com/about/versions/14/behavior-changes-all#:~:text=Media%20owner%20package%20names%20might%20be%20redacted,-The%20media%20store&text=Starting%20in%20Android%2014%2C%20this,store%20requests%20the%20QUERY_ALL_PACKAGES%20permission.

robbielongcat commented 5 months ago

Hi, checking back here on the 1st June '24 - i've moved my pd android related projects over to MobMuPlat as that developer seems to be keeping up with android updates. I prefer the workflow of working with pddroidparty, i'd love it if someone - maybe @chr15m or someone else - can fix this issue with pddroidparty.