\android-sdk_m5-rc15_windows\tools>adb shell am -help
Error: Unknown command: -help
usage: am [startinstrument]
am start [-a
[-c
[-e
[-n
am instrument [-e
[-w]
應用
啟動瀏覽器,下指令adb shell am start -n com.google.android.browser/com.google.android.browser.BrowserActivity
am start -n com.google.android.browser/com.google.android.browser.BrowserActivity
Starting: Intent {
comp={com.google.android.browser/com.google.android.browser.BrowserActivity}
}
開啟瀏覽器並前往指令網址,下指令adb shell am start -a android.intent.action.VIEW -d http://mwjian.javaeye.com/
am start -a android.intent.action.VIEW -d http://mwjian.javaeye.com/
Starting: Intent { action=android.intent.action.VIEW
data=http://mwjian.javaeye.com/ }
打電話,下指令 adb shell am start -a android.intent.action.CALL -d tel:88888888
am start -a android.intent.action.CALL -d tel:88888888
Starting: Intent { action=android.intent.action.CALL data=tel:88888888 }
列出所有的應用程式,在一些手機中沒有作用adb shell am start -a android.intent.action.ALL_APPS
am start -a android.intent.action.ALL_APPS
Starting: Intent { action=android.intent.action.ALL_APPS }
開啟地圖,下指令adb shell am start -a android.intent.action.VIEW geo:0,0?q=taipei
am start -a android.intent.action.VIEW geo:0,0?q=taipei
Starting: Intent { action=android.intent.action.VIEW data=geo:0,0?q=taipei}
沒有留言:
張貼留言