Help: how to program a command for android

Maybe the title is confusing. I hope to develop a binary command, placed under /system/bin, for example, called "tester".
when I use adb shell to execute, such as

test -call 911,

and the phone will make a call to 911.

Anyone could give me an idea where should I start?

Thanks.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by mike22
2 hours ago
Last post by rick20
41 minutes ago
Last post by emil57
2 hours ago
Last post by pcorwin
55 minutes ago
Last post by nziemann
59 minutes ago
Last post by rbrekke
2 hours ago
Last post by earl.klein
4 hours ago
Last post by ghauck
4 hours ago
Last post by vconroy
4 hours ago
Last post by maxine40
2 hours ago