On Wed, Dec 15, 2010 at 3:41 PM, gato chlr <[email protected]> wrote:
> thanks, > the method getFilesDir() retrieves a FileOutputStream to the > /data/data/your.activity.package.name/files > directory > Um, no, it returns a File object. http://developer.android.com/reference/android/content/Context.html#getFilesDir() > if this directory does not exists the method create it, so it seems that it > is nothing of other world. > Huh? > It can be done by using doing: > > File appDir = new File("/data/data/your.activity.package.name/files"); > appDir.mkdir(); > It can, but why would you? What if the path changes across platform versions? ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

