Tagged: ADB

Programmatically close recent apps

It seems and is the most obvious choice to close apps running in background in order to give a device a small boost. Android’s recents screen is designed to allow users to quickly stop...

Dumpsys: Battery mocking with ADB shell

In some cases a specific conditions in relation to device’s battery state, level or charging method are required for either development or testing. It seems relatively easy to charge or discharge a device. However,...

Backup and restore Android’s settings quickly

Few posts ago (Programmatically change android settings) I mentioned a clever way of changing Android’s setting from a command line with the use of one of the system’s binary. This allowed for manipulation of...

Monkey – using a stress test tool

Monkey is a random event generator that can be run on a device against the particular package. It can be used to stress applications under a development in order to find weak points. There...

Wireless ADB without root

Losing a USB cable while using Android Debug Bridge  for debugging an app or device has two obvious advantages: using device micro USB port for other activities like charging via AC adapter (helpful during...