i am getting output of dumpsys command in Android OS 2.2 but not in Android OS 2.3
i am running the following instruction:-
Process p = Runtime.getRuntime().exec("/system/bin/dumpsys media.player");
in Android OS 2.2 i am getting output as:-
DUMP OF SERVICE media.player:
Files opened and/or mapped:
/proc/33/fd/15 -> /system/media/audio/ui/VideoRecord.ogg
but in Android OS 2.3
we are getting permission denied
What changes should i do?
i am running the following instruction:-
Process p = Runtime.getRuntime().exec("/system/bin/dumpsys media.player");
in Android OS 2.2 i am getting output as:-
DUMP OF SERVICE media.player:
Files opened and/or mapped:
/proc/33/fd/15 -> /system/media/audio/ui/VideoRecord.ogg
but in Android OS 2.3
we are getting permission denied
What changes should i do?