When I use the ContentChooser to pick an image, if the user hits the back button when in their selected app, or taps away when picking, they get the following error message:
If they hit "yes", then nothing happens, and this is what should happen. If they hit "no", then the app terminates. If they try to leave the application with this error up, the entire process crashes ("Unfortunately, the process com.whatever.whatever has stopped").
I already tried a Try...Catch...End Try statement to get around this but it doesn't work. What else could I do?
B4X:
An error has occurred in sub: main_cc_result (java line: 361)
java.io.FileNotfoundException: No content provider:
Continue?
If they hit "yes", then nothing happens, and this is what should happen. If they hit "no", then the app terminates. If they try to leave the application with this error up, the entire process crashes ("Unfortunately, the process com.whatever.whatever has stopped").
I already tried a Try...Catch...End Try statement to get around this but it doesn't work. What else could I do?