On Sat, Feb 20, 2016 at 3:30 PM, Alessandro Rossini <[email protected]> wrote:
> Everytime i run the app, he says "Does not exists.. creating..", but > "theDir.mkdir();" is not working Read the documentation for File: http://developer.android.com/reference/java/io/File.html mkdir will fail, among other reasons, if the parent directory does not exist. So make sure it does. Also, hard-coding file paths is a terrible idea: http://developer.android.com/guide/topics/data/data-storage.html ------------------------------------------------------------------------------------------------- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CANCScgg1OSRSx7m2CJXnJEjk_aA-%3D%2BvygmVjYF6pUs2ZYrZuKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

