These are instructions to support and test simple deeplinking, without Firebase or the Navigation Components.
Read more…All snippets tagged with adb
Page 1 of 1Simple deeplinking
Custom TestRunner
Adds several features over the regular AndroidJUnitRunner:
Read more…Pair emulator Android Wear with real phone
To pair Wear running on an emulator with a physical phone, run this command targeting the emulator:
Read more…Install app as a system app on the emulator
Use the following commands to install your app as a system app on an emulator (or rooted device).
Read more…Debug Android Wear over Bluetooth
Fossil watches and their branded derivatives do not support ADB debugging using the USB cable. Other cables have proven to be feable and utterly unusable for reliably developing and debugging apps on a physical Wear device.
Read more…Tricks you can do with ADB
A collection of things you can do with adb
, such as toggling WiFi or Bluetooth.
ADB control script that simplifies working with multiple devices
Running ADB commands over the command line can be a pain if you have multiple devices or emulators attached. The script below makes this easier by adding an interactive prompt.
Read more…Install app as a device administrator
The following instructs how to set an app as a device admin. This can be useful for several things, mostly for running an app in kiosk mode. Being a device admin enables such an app to pin the screen, to prevent the lock screen, and prevents it from being uninstalled by the user without permission from the app.
Read more…