D
Deleted member 103
Guest
Hi,
can someone tell me how to fix the error?
In principle, everything is correct, I myself can not reproduce the error, but somehow, there are users with the errors are displayed.
The bitmap is present, since there are no doubts.
The variable is set in Main-Activity.
Main-Activity
Activity-m4karten
I do not understand what should be wrong in my code.
can someone tell me how to fix the error?
In principle, everything is correct, I myself can not reproduce the error, but somehow, there are users with the errors are displayed.
The bitmap is present, since there are no doubts.
The variable is set in Main-Activity.
Main-Activity
B4X:
Sub Activity_Resume
If Starter.strOldBackground<>mBBL.getBackgroundImageName(Starter.manager.GetString("imgBackground")) Then
Starter.strOldBackground=mBBL.getBackgroundImageName(Starter.manager.GetString("imgBackground"))
End If
'Hindergrundbild laden
Activity.SetBackgroundImage(LoadBitmapSample(File.DirAssets, Starter.strOldBackground & ".jpg",Activity.Width,Activity.Height))
End Sub
Activity-m4karten
B4X:
Sub Activity_Resume
'Hindergrundbild laden
Activity.SetBackgroundImage(LoadBitmapSample(File.DirAssets, Starter.strOldBackground & ".jpg",Activity.Width,Activity.Height))
End Sub
I do not understand what should be wrong in my code.