# Capturing screen
adb shell su root screencap -p /sdcard/screencap.png && adb pull /sdcard/screencap.png
# Tapping at specific coordinate ( x = 100, y = 200 )
adb shell su root input tap 100 200
Related Posts
Create Foreground Service https://robertohuertas.com/2019/06/29/android_foreground_services/ Check that application is installed Check that application is running Read more
I had a task to support background installation of Android apps on recent Android OS. My Googling/GPT skills identified that one way to do it on non-rooted device is to use PackageManager API along with marking the app as ‘device-owner’.... Read more
Get Android Version Start ADB Server On Specific Port List Processes Package Version Dump camera information Listing process logs Listing installed applications Read more
In order to root Android device, few steps will have to be performed. These steps are done in certain order, which when completed will provide root access. Major steps involved in rooting are: Unlocking Bootloader The loader needs to be... Read more
By default when Android application is installed for example via debugger, id only has permissions defined in it’s AndroidManifest.xml. But that’s actually not true, as some permissions cannot be given to regulary installed apps (e.g. android.permission.BROADCAST_SMS). To enable all posible... Read more
To set-up Android WIFI debugging, perform the following steps. Connect Android and PC to same WIFI network. Then, in Android go to developer tools and enable wifi debugging. Then in debugging menu, select pair device, where you’ll get an IP... Read more
I had to do some testing with application which expected certain boot events to occur to start properly. Since it was an emulator, boot event was never received and so I was not able to start all background services related... Read more