How can I start a browser with the adb shell
command and make it open a certain web page?
Open WebADB's website and click on the 'Add device' button. If you've connected multiple Android devices to your computer, choose the right one from the list of available devices. 3. After choosing the right device, click on 'Connect' to start using WebADB from your browser.
Open a command window in the folder by holding shift and right-clicking in an empty spot in the folder and selecting "Open command prompt/PowerShell here" in the menu. Then you can start using ADB — connect your phone and try . ADB devices to see if it's working. A list with attached devices should show up.
From Xamarin Studio, go to Tools, then select "Open Android SDK Command Prompt". This will open a terminal window and automatically navigate you to the Android SDK location. From there you can use the ADB command. Show activity on this post.
Running this command will start a web browser in android:
adb shell am start -a android.intent.action.VIEW -d http://www.stackoverflow.com
If your url's are symbol heavy you should also quote aggressively
adb shell am start -a android.intent.action.VIEW -d 'http://stackoverflow.com/?uid=isme\&debug=true'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With