0

I want to access Chrome browser directory in android/data and then copy files(TXT) From assets to that folder

1.how to get permission In Android 11

2.after getting permission How to copy any file from asset folder to that directory

Please give me an code that works like this

Image First

Image Second

App link above screenshot: https://play.google.com/store/apps/details?id=eu.tsoml.graphicssettings

  • https://stackoverflow.com/questions/68507100/accessing-android-data-folder-directory?noredirect=1#comment121087591_68507100 – blackapps Jul 25 '21 at 07:21
  • There is no answer sir – Prithvissj Jul 25 '21 at 07:38
  • Why do you think you need permission? And what did you try? And what would be full path? What are the problems you encountered? – blackapps Jul 25 '21 at 08:32
  • I am making a GFX tool for pubg I want to replace it's file with my files stored in assest folder. – Prithvissj Jul 25 '21 at 08:36
  • You did not answer any of my questions. – blackapps Jul 25 '21 at 08:48
  • 1
    https://stackoverflow.com/questions/68512009/how-to-copy-files-to-android-data-other-app-directory-in-android-11 – blackapps Jul 25 '21 at 09:39
  • Hi, i dont want to discourage you, but this is not good post. You are asking "give me working code of specific feature of this app". First, you need to do research. Then try few codes. If things do not work, state what you tried and what did not work. – Jemshit Jul 25 '21 at 12:55

1 Answers1

0

If your app holds REQUEST_INSTALL_PACKAGES permission it can access Android/obb directory.

and for more details

Pouria Hemi
  • 706
  • 5
  • 15
  • 30