On Thu, Feb 17, 2011 at 3:41 PM, Cairo <[email protected]> wrote:

> But I can't to create cache path
>


>  // than I want to create full path and get false.
>  Boolean bmkdirs=path.mkdirs();
>


> What's wrong? Hot to solve this issue?
>

Returns

   - true if the necessary directories have been created, false *if the
   target directory already exists* or one of the directories can not be
   created.

First thing I would do is add a check if (!path.exists()) path.mkdirs().

-------------------------------------------------------------------------------------------------
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

Reply via email to