Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create folder during app install in android

Tags:

android

I am trying to make simple notepad application for learning android development. So, to store the created text files can i create a folder into my application folder while application getting installed on android instead of creating folder using File class and then adding files to it in the code ?

like image 872
Ashutosh Avatar asked Oct 14 '25 08:10

Ashutosh


1 Answers

It's impossible to achieve that as your application doesn't really have any control or permissions untill its installed. Once the app is installed you can create the folder very instance the app starts.

like image 69
Mayank Avatar answered Oct 19 '25 15:10

Mayank



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!