Tagged: ADB

0

Programmatically close all running apps via ADB

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...

0

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,...

0

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...

0

Investigate apps’ data container with ‘run-as’

How many times when testing or developing a mobile you had to verify if correct data is being saved in the correct place? Working on a rooted device is not always possible (or you simply don’t...