Android Helpdesk Blog

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

0

Full vs Incremental OTA (Over-The-Air Update)

There are two types of OTA (that I have encountered so far). Each with its own advantages and usages. But there is only one type typical customer would see (the other one you probably...

0

Query information from Android device with ‘dumpsys’

There a simple tool called Dumpsys, that allows query various services in order to find some useful data. It lists all the stats  & information about particular selected component in a simple text format. Here is the...

0

Programmatically change android settings

Setting up the device for each test can be an enormous task, with countless possibilities of devices’ states; it’s easy to make an error resulting in a false negative outcome. Is there a simpler method other...

0

Track crashes and ANRs with Activity Manager

Crash and/or ANR (Application Not Responding) is one of the most obvious signs that there is something wrong with the App. In most cases, they present themselves with a nice pop-up, but sometimes those...

0

Control android screen display with WM

Being able to emulate other devices screen size, density and control the area of the display with a singular command is a great advantage for both developers and testers. Luckily Android provides us with...

0

Power, data and USB management on android device with SVC

SVC binary allows you to control 4 main areas on a device: power wifi data usb It becomes very handy when control over those areas is required for debugging. Here are few tips on...