1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to access and store files in Android/data folder in android 11

Discussion in 'Android Development' started by Anmol hira, Nov 8, 2021.

  1. Anmol hira

    Anmol hira Lurker
    Thread Starter

    I am working on a project in which i have to put some files in another Application directory under Android/data without using manager_external_permission. Does anyone know how to achieve this in Android11? Also tell me the way to achieve this in android10.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Hadron

    Hadron Smoke me a kipper...
    VIP Member

    I'm sure you can do it if the device is rooted. I don't know of a way of doing this without root, but because of the ways this could be abused by malware I hope you'll forgive me if I also hope that there isn't one.
     
    codesplice likes this.
  3. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    I don't think this is a Thing Which Can Be Done given the security considerations of app scoped storage. One app can't access another app's data directly.

    I'm not a developer though so maybe I'm missing something. But my understanding is that Android 11 is specifically designed to prevent this from happening.
     
    Hadron and Dannydet like this.
  4. Anmol hira

    Anmol hira Lurker
    Thread Starter

    Bro i am developing an app so i can't root everyone's device. I need a way. Google has just changed a way to access these folders and we should try thing that work out.
     
Loading...

Share This Page

Loading...