I am currently developing an app for the Android Automotive OS, named com.oem.myapp, which is designed to store data in a specific partition (/data/vendor/LargeData). The app is targeted at Android API version 33. I have encountered a couple of issues:

  1. MyApp is unable to access files in the /data/vendor/LargeData partition despite their presence, which appears to be a permission issue. Do the read/write_external_storage permissions cover this directory as well as all other directories?

  2. To secure the necessary permissions in advance, What code should I modify in Android? I aim for MyApp to obtain these permissions automatically, without displaying a permission request popup to users.

I heard topic about "scoped storage" or "App-specific storage", can not find information for that.

Any advice on these matters would be greatly appreciated. Thank you in advance for your assistance!

0

There are 0 best solutions below