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

Android: How Can i Create Files in another Application's Package?

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

  1. Anmol hira

    Anmol hira Lurker
    Thread Starter

    I am developing a custom Watchfaces App in Which i have to Copy/Create Watchface .bin files in Android/data/com.xiomi.hm.health/files/watch_skin_file/59/ into these directory without this my custom watchface app will not be able to apply custom watchfaces. I am new to android file storage development and does not know much about it. but i know that android have made some changes in storage in android 11. Can anyone tell me how can i do this in Android 10 as well as in Android 11. Please guide me exact ways and write sample code. Thanks
     


    ScarlettM59 and mikedt like this.

    1. Download the Forums for Android™ app!


      Download

       
  2. ScarlettM59

    ScarlettM59 Member

    If you have file apk rar on you device then extract it and install once done. Go to your file manger and locate the install file and copy the file that you have created. Most of application does not allow you to create new file. So for that you can create the file on android tool and then copy it to you desired location.
     
Loading...
Similar Threads - Android Create Files
  1. tiho_bg
    Replies:
    1
    Views:
    769
  2. CCCKP
    Replies:
    0
    Views:
    709
  3. xpressive
    Replies:
    0
    Views:
    1,020
  4. Nabeel Rajabali
    Replies:
    1
    Views:
    1,127
  5. Youssef Hammad
    Replies:
    0
    Views:
    2,058
  6. Chen Dol Dawd
    Replies:
    1
    Views:
    665
  7. chethan1703
    Replies:
    0
    Views:
    1,387
  8. Dan Coleman
    Replies:
    0
    Views:
    1,506
  9. John Fueler
    Replies:
    1
    Views:
    437
  10. Kayem59
    Replies:
    3
    Views:
    766

Share This Page

Loading...