posted 10 years ago
When my midlet is started, it immediately requests to make a HTTPConnection.
However if the user choose NO to the prompt "Allow access to the internet?", I want to display an Alert that says Sorry this application requires network access to function. This program will now exit.
The Display.setCurrent( Alert, Displayable ) requires a Displayable parameter as well. When the user presses OK on the Alert; I want the midlet to exit.
What are the alternatives ?
Regards,
Pho
However if the user choose NO to the prompt "Allow access to the internet?", I want to display an Alert that says Sorry this application requires network access to function. This program will now exit.
The Display.setCurrent( Alert, Displayable ) requires a Displayable parameter as well. When the user presses OK on the Alert; I want the midlet to exit.
What are the alternatives ?
Regards,
Pho