• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps File creation

Raviraj2018

Lurker
Dec 13, 2008
1
0
Hi,

I am new to Android debelopment. I want to write an application which reads from a file stored on the device (Like a configuration file) and takes necessary actions. Here my problem is with respect to the file creation.. Where is the file getting vreated. I used

File file = new file("/data/data/myApp");
file.mkdir();

File file = new file("data/data/myApp/textFile");
file.Createfile();

I am not able to see any new file getting created??Can any one help me please??
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones