i want to make an android app that get list of all installed applications and after that user may select various apps and save their backups on google drive
Asked
Active
Viewed 3,240 times
-1
-
1refer http://stackoverflow.com/a/8743332/3981656 – Sathish Kumar J May 06 '17 at 11:20
1 Answers
0
This can help you to get all installed apps,
Intent intent = new Intent(Intent.ACTION_MAIN, null);
intent .addCategory(Intent.CATEGORY_LAUNCHER);
List<ResolveInfo> apps = context.getPackageManager().queryIntentActivities( intent , 0);

suraj shinde
- 230
- 1
- 7
- 19
-
works great! this is the first part of my question, now can you please tell me that how i can take backups of various apps that the user has selected? – fazal nabi May 08 '17 at 06:36
-
First try to find out how apk files are store in sd card and then try this [tutorial](https://www.numetriclabz.com/integrate-google-drive-in-android-tutorial/) – suraj shinde May 08 '17 at 10:55