I would like to copy the files (image files captured from the camera app) between internal storage, from /data/data/[my app]/photo to another folder within the internal storage.
As you can see in the screen shot below, I have successfully changed the permission of both directories into '777' via the below code:
Runtime.getRuntime().exec("su");
Runtime.getRuntime().exec("chmod 777 /data/data/[my app]/photo", null, new File("/data/data/[my app]/photo"));
So, I use the similar code to change the permission for the files in the "photo" folder but nothing happens.
Runtime.getRuntime().exec("su");
Runtime.getRuntime().exec("chmod 777 /data/data/[my app]/photo/2_20130406_143344");
It would be very grateful if someone give me some direction as it has bothered me for the entire weekend.
Thanks a lot in advance!