I'm trying to write an android web application that detects all installed apps on android.
PackageManager pm = mContext.getPackageManager();
if (pm == null) {
return "can't get pm";
}
Drawable icon = pm.getApplicationIcon(packageName);
I tried with java imageview and it works fine. However, the GUI is HTML code base. I tried to google it but I don't have any idea how to display other apps icon on my webview HTML. Could you please help me to solve this issues?
Thanks