Hello,
I am not able to fix that alone. Perhaps would you have some ideas.
I am willing to open a dialog after having chosen an image file using ContentChooser. But when returning from the ContentChooser, if the activity is paused after the dialogs had been shown, I get a crash.
The sample project does it :
Any idea please ? Thanks
I am not able to fix that alone. Perhaps would you have some ideas.
I am willing to open a dialog after having chosen an image file using ContentChooser. But when returning from the ContentChooser, if the activity is paused after the dialogs had been shown, I get a crash.
main$ResumeMessagerun (java line: 298)
java.lang.NullPointerException: Attempt to read from field 'anywheresoftware.b4a.objects.ActivityWrapper b4a.example.debug.main._activity' on a null object reference
at b4a.example.debug.main$ResumeMessage.run(main.java:298)
at android.os.Handler.handleCallback(Handler.java:815)
...
The sample project does it :
- press the push button and select an image
- after having selected the image a message box appears
- press the device's Home button to put the Activity in Pause and get the crash
Any idea please ? Thanks
Attachments
Last edited: