Tuesday, February 18, 2014
How to use android shell code to call?
shell command
screencap / data / card / test.png
I would like android, use code to call this shell, and ask how to write<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
You are not enough authority to execute this command
Reply:
Can you tell me how to write it?
Reply:
getruntime.exec ("system (screencap / data / card / test.png)")
Reply:
String command = "system (screencap / data / card / test.png)";
String [] cmd = {commands};
Runtime.getRuntime () exec (cmd);.
Are being given, I ask what is wrong Oh?
java.io.IOException: Error running exec () Command:. [system (screencap / sdcard/PowerMedia/12345678920131115163052.png)] Working Directory: null Environment: null
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment