Help CÁC LỆNH HỮU ÍCH ĐỂ ĐIỀU KHIỂN ANDROID QUA ADB (PHẦN 1)

wormiit

Senior
Joined
Apr 1, 2014
Messages
587
Reactions
521
MR
3.142
Chat with me via Yahoo Messenger Follow me on Facebook
Mở một URL bằng browser (android.intent.action.VIEW)

adb shell am start -a android.intent.action.VIEW -d

Mở một URL cài App bằng Google Play (com.android.vending)

adb shell am start -n com.android.vending/com.google.android.finsky.activities.LaunchUrlHandlerActivity

Mở một cái gì đó bằng trình duyệt nào đó

adb shell monkey -p com.package.name -c android.intent.category.LAUNCHER 1
adb shell am start -a android.intent.action.VIEW -n [application/intent] -d
adb shell am start -n [com.your.packages/com.your.packages.Activity]
adb shell am start PACKAGE_NAME/ACTIVITY_IN_PACKAGE adb shell am start PACKAGE_NAME/FULLY_QUALIFIED_ACTIVITY

#example adb shell am start -n com.growingwiththeweb.example/.MainActivity
adb shell am start -n com.growingwiththeweb.example/com.growingwiththeweb.example.MainActivity

Ví dụ:
adb shell am start -a android.intent.action.VIEW -n org.mozilla.fennec/.App -d http://yoloteam.org

Muốn mở nhiều hơn? Thủ thuật chi tiết tại đây
 

Announcements

Today's birthdays

Forum statistics

Threads
428,487
Messages
7,235,066
Members
180,564
Latest member
buithuan1905

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom