Dynamic addition of Different App's icons

I am working on the Password Saving app want to add a feature that user can get icon of the app whose credentials users save into the app. Currently I am using same icon for all the Credentials but now I want to allocate their official icons . In android there are API’s that can bring the PNG icon of the apps that are install in our mobile device.
How can I implement it in AppGyver?

Hi there, i read your post yesterday and i didnt know the solution to what you ask, but i came across a page where they offer api to get the icon of a url page (if anybody is interested)
I know that this is not what you are looking for, but i also found this which i think is what you ask.

I hope it helps