Running app on android

During my research on android malwares, I faced an issue of running the malware on android (emulator) which I used 2 methods depends on the situation.

In case you need to only run the app and you do not care about what happenes next, you can use “am” command,

adb shell am start -n package/.activity

You can find out the package/activity name by refering to my previous post and find more about android activity manager here

On the other hand, if you need to poke the app to imitate (somehow) the real user, Monkey will do the job for you.

adb shell monkey -s 10 --throttle 1000 --pct-touch 100 -p %s 20 > /dev/null &

To find more info about Monkey please refer to my previous post here or here.