On Wed, Dec 8, 2010 at 11:41 AM, gato chlr <dany...@gmail.com> wrote:
> it seems that the application related data is stored in
> /data/data/android.files/files , you can get this directory using
> getFilesDir() from your Activity. Also it looks like the application
> related data is created when you start the application, and it is
> deleted when you close the application, so if i save a file in
> getFilesDir() and close the application, when another one tries to
> retrieve the saved file it will not be there. please tell me if i'm
> wrong.

You are wrong. Files in getFilesDir() are only removed when you remove
them or when the user uninstalls the application.

> I'm thinking to put those files in /tmp , but not sure.

There is no /tmp, and even if there were, you could not write there.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.0.1 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to