Linda, I am new to Android. I had my app on a Microsoft phone and used .txt files for data storage. It seemed like a good idea on the Microsoft smartphone and it worked.
I did the same with my app on the Android and found that unexpected things happen with text files on the Android. Things like the path to the sdcard changed with versions and also with different devices, i.e. AT&T androids have two sdcards and there are little complications. I am not saying that Android cannot handle txt files. My thinking is that on Android data storage is "designed" to work with sqlite database. (I like the Android development environment much better than Microsoft!) I converted my data storage to utilize sqlite database. My impression is that everything works smoother (with my app) when I use sqlite database. I can make it work with .txt files but it seems like that is like paddling upstream. And paddling downstream is better. HTH, John Brown On Sep 17, 3:10 am, Lidia <[email protected]> wrote: > Hello to all, > > I wrote a file o the phone from my application in the following path: > /data/data/<my_project_name>/files/my_file.txt > If i run the application in emulator, i can see my file created in > this path. > but if i run the application on a real device, i can't see this file. > > Using DDMS from the eclipse the "data" folder from the phone has > permissions drwxrwx--x - what does this mean? > and when i try to expend the "+data" , it seems to be empty. > > I use the "Astro" programm to access the "data" folder from the phone, > and it seems to be empty. > > Is the content hidden of this folder, and there is not a way to see > what it contains? > > Thanks > Lidia -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

