Thursday, 29 October 2015

How to fetch Android system apps (Apk installation files) or playstore installed files from Android device? 


How to fetch the Android apps (Apk files from Android Google playstore)?
1. Search for the app in Google Playstore > Open the app > Check out the URL >
https://play.google.com/store/apps/details?id=<<Package ID of the android app>>.

2. Use http://apps.evozi.com/apk-downloader/ website to download app. or else download this app directly on your device from google play-store.

How to fetch the system/playstore installed  apps which were already installed on Android device?
To run the below commands make sure that You have configured android sdk and correspanding path settings. And also enable usb debugging option on your device from devloper options (Device Settings).

Run the below command to fetch any System app or any installed app on your machine.

1. Command: adb shell pm list packages 










The above command will gives the list of apps bundle id's which are resided on your device. Choose the correspanding bundle ID which you want it.


2. Run the below command to get the path of the apk
Command: adb shell pm path <<bundle id>>

Here the apk path is /system/priv-app/Contacts.apk. by using adb pull command we can fetch the apk file from android phone.

Note: Instead of executing 1 & 2 command you use below command.
Command: Note: adb shell pm list packages -f 

3. Once you got the location of the apk file then use the below command to fetch the apk file.
Command: adb pull <<path>>


Finished!! Now you successfully downloaded the APK file, Go ahead and share the apk file. No need to download every time from playstore and avoid data usage charges!!.


Happy testing!!!







Friday, 6 March 2015

Is you Mobile app data base is encrypted? How to check on Non-Rooted devices?

Typically this feature will be validated on Security related applications like (BYOD Enterprise related applications, Emails...etc).

We always needs a rooted device to check wheather the saved files or the data base is encrypted or not. If you don't have a Rooted android device how you are going to validate this?
It's big challenge to the QA folks who involved in this kind of applications.

Yap!!! It's very easy to validate without having a Rooted device. There are 2 ways to achieve this.
1. Make your app in Debug mode.
2. Take the backup of your device or your application and validate it.