0 votes
by (890 points)

Is there a way to get images from other apps?

2 Answers

0 votes
by (2.8k points)

What does it mean to get images from other apps? Could you describe it in more detail?Do you mean using code to get the images from other apps?

0 votes
by (2.7k points)

Hi,

You can refer to Android Native API -- loadIcon
Like the following Java code:
PackageManager packageManager = context.getPackageManager(); ApplicationInfo appInfo = packageManager.getApplicationInfo(packageName, 0); Drawable icon = appInfo.loadIcon(packageManager);

...