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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s