On May 3, 9:23 am, brijesh masrani <[email protected]> wrote:
> I want to rename a file in sdcard using program, i am not able to do that
> using
>
> String[] prog ={"mv HArdcore.chm h_ardcore.chm"};
>
> Process p = Runtime.getRuntime().exec(prog);
>
> so if anyone knows how to do that than please reply.

http://d.android.com/reference/java/io/File.html#renameTo(java.io.File)

Regards,
Thilo

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