> Might want to also check for last forward slash, in case the path portion of
> the filename contains a dot.
>
> E.g.:
>
> /sdcard/.myapp/cachefile


I suppose that should be taken care of by File.getName(). I might add
that a test case for this new code would be a good idea.

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