you can use the second one in your activity. 1. getFilesDir().getAbsolutePath() 2. getFilesDir().getParentFile() Check the javadocs for ContextWrapper
On Jan 29, 2:13 pm, "[email protected]" <[email protected]> wrote: > Is there a preferred way to find the data directory of an application, > other than starting with android.os.Environment.getDataDirectory() > and appending "/data/" and the package name? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

