All snippets tagged with android

Page 7 of 7
 

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

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…

Kotlin extension functions for Strings