exec command android native code

前端 未结 2 1109
日久生厌
日久生厌 2021-01-14 21:05

I am trying to launch an android applications from native code.

In adb shell we can launch applications using \"am\" command.

Link:

How to run (not o

2条回答
  •  佛祖请我去吃肉
    2021-01-14 21:32

    you should use system() family method ,first it will fork child process and invoke shell then return,so it will not block android main thread

提交回复
热议问题