Android Question Exception in MessageBox function

artsoft

Active Member
Licensed User
Longtime User
Hi all!

Currently I am faced with this error:

1667904842956.png


I simply use the BetterDialogs library from @Informatix for asking the user some logical decision in my app.

Within the library, there is a place where this is called:

B4X:
Msgbox.msgbox(ad, false);

Here ad is a AlerDialog:
B4X:
AlertDialog ad;

And b4a class Msgbox is used:
B4X:
import anywheresoftware.b4a.Msgbox;

How to trigger an exception:

When I show a messagebox with this libary and the user click on HOME button of his mobiel device, then this exception is thrown.

In my B4A code I am using try ... catch. But no effect.
In the BetterDialog I also added a try catch block .... but also no effect.

I guess, that the exception in b4a classes is not handled.

What can I do here?

Thankful for all help here.

Regards
ARTsoft
 

DonManfred

Expert
Licensed User
Longtime User
Solution is NOT to use the Library any longer

 
Upvote 1

artsoft

Active Member
Licensed User
Longtime User
Solution is NOT to use the Library any longer


Thanks, DonManfred, for your tip!
 
Upvote 0
Top