Android Question Debug(rapid): Error loading bitmap.

Shay

Well-Known Member
Licensed User
Longtime User
Hi

while using debug rapid I am getting this error,
while I am running release mode it is ok (showing the icon ok)

error:
java.lang.RuntimeException: Error loading bitmap.

code:
result = Msgbox2("message","title","yes","cancel",no",LoadBitmap(File.DirAssets,"exit.ico"))
 

DonManfred

Expert
Licensed User
Longtime User
ico? I dont think Android supports that file format.
Ico is usually a BitMaP (*.BMP)

But
while I am running release mode it is ok (showing the icon ok)
it seems that the ico will be loaded and showed in release-mode.

Anyway Erel wrotes in another thread (from 2012):
Android doesn't have a built-in encoder for BMP format. Only for jpeg or png.
So from this state i would say the ICO should not be showed

Actually i´m a bit irritated :D
 
Upvote 0
Top