String[] command = {" mv", "sun moon.jpg"," sun_moon,jpg"};
try
{

    Process process = Runtime.getRuntime().exec(command);
}
catch (IOException e)
{

    Toast.makeText(this, ""+e, Toast.LENGTH_LONG).show();
}




~~~~~~RAJU~~~~~~
~~www.itdoall.co.cc~~


On Fri, Sep 16, 2011 at 3:02 PM, GopalaKrishnan D <gopall...@gmail.com>wrote:

> How to rename the file which is in sdcard...
>
> --
> ~* Regards*
> *GopalaKrishnan D*
>
>  --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to