How to get the icons of app which is in file manager?

I am making an app like file manager but I am not able to get the app icons. I mean If we open our default file manager or any other file manager app and search for apk which is in our storage them it will find that apk and in the side of that file it will show icon also so can we get the icon of apk which is in our storage in kodular apps too? Please tell me it is possible or not?

Try using

Package Manager Extension or

By using this extension I am able to get icon of that apk which is installed in my device but how do i get icon of those apk which is in my sdcard (phone storage) but not installed in device?