Hello. I don't know if this issue was something to do with this thread https://www.b4x.com/android/forum/threads/adaptive-icons.95244/
but after I did everything as instructed in there I found out (later on) that
is always evaluated to nothing, thus app will give me an error as I try to use app icon further on as an Bitmap object, sayng that it is not initialized??!!
I don't have a small test app, I am asking how to get the app icon on oreo+ devices (in my case)?
How should I read Objects\res\mipmap\ic_launcher.png into a bitmap?
I must mention that in the res/drawable folder there is one file "icon.png" but I use that for nottifications. The two files are not the same. App icon is ofcourse "ic_launcher.png".
but after I did everything as instructed in there I found out (later on) that
B4X:
Application.Icon
I don't have a small test app, I am asking how to get the app icon on oreo+ devices (in my case)?
How should I read Objects\res\mipmap\ic_launcher.png into a bitmap?
I must mention that in the res/drawable folder there is one file "icon.png" but I use that for nottifications. The two files are not the same. App icon is ofcourse "ic_launcher.png".