new File(context.getFilesDir(),"Test").exists()

On Friday, October 19, 2012 11:05:17 AM UTC-5, Paolo Mancini wrote:
>
> For instance:
>
> I create a new Test dir with:
>
> context.getDir("Test",Context.MODE_PRIVATE);
>
> If after in another part of code I want to check if Test exist without 
> create it, which is the correct procedure?!
>
> thanks
>
>
> Il giorno venerdì 19 ottobre 2012 18:00:40 UTC+2, TreKing ha scritto:
>>
>> On Fri, Oct 19, 2012 at 3:47 PM, Paolo Mancini <[email protected]> wrote:
>>
>>> How can I obtain this?
>>>
>>
>>
>> http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29
>>
>> And standard Java IO.
>>
>>
>> -------------------------------------------------------------------------------------------------
>> 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