Friday, September 3, 2010

Re: [android-developers] Split Path to get filename and extension

Is there any method in io package?

On Sat, Sep 4, 2010 at 1:15 AM, Pedro Teixeira <pedroteixeira07@gmail.com> wrote:
hi there..

I have a file path to the SD card on a String.. like this : /sdcard/
download/recentPic.jpg

And I'd like to get just the filename and extension recentPic.jpg

Is there any simple way to do this ?

Thank you

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
 -hUaLOng

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment