I am having trouble sending email from a BlackBerry application.
When the user clicks a button, it will send an email with an attached screenshot, but the screen hangs there. I have to reset the device to go back to the menu screen.
If I add System.exit(0), the app returns to the capture screen but this prevents the email from going out.
I want my app to send the email in the background and return the user to the screen that was just captured.