How to run terminal command in Android application?

前端 未结 3 1272
心在旅途
心在旅途 2020-12-08 01:10

How to send a command to the terminal through android app and get the output back? For example, sending \"ls /\" and getting the output to print it in the GUI?

3条回答
  •  醉话见心
    2020-12-08 02:07

    Different solutions could be found here: http://code.google.com/p/market-enabler/wiki/ShellCommands I've not tested them yet.

提交回复
热议问题