Hi all
i have an application which needs to clear the buffer
i do this way
but it gives error

    Process p = Runtime.getRuntime().exec("su");
            p = Runtime.getRuntime().exec("sync");
            p = Runtime.getRuntime().exec("echo 3 > 
/proc/sys/vm/drop_caches");

error:

Error running exec(). Command: [echo, 3, >, /proc/sys/vm/drop_caches] 
Working Directory: null Environment: null

please help me 
thanks

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