Friday, February 15, 2013

Use command line to get screen tap in Android


If you want to tap on android device screen and touch is not working then you can use following command to tap screen. Suppose you want to tap 300, 500 location on screen then use following command

adb shell input tap 300 500

Dial/Accept phone call using command line in Android

  • To dial phone number using service call
  • adb shell service call phone 2 s16 "+123456789"

  • To dial call using activity manager
  • adb shell am start -a android.intent.action.CALL -d tel:123456789

  • To accept incomming call
  • adb shell input keyevent 5
  • To disconnect call
  • adb shell input keyevent 6
  • How to integrate meld in your ubuntu file browser