| ID | KIJ001378 | Creation date | June 12, 2009 |
| Platform | S60 5th Edition | Devices | Nokia 5800 XpressMusic |
| Category | Java ME | Subcategory | Messaging, Security |
| Keywords (APIs, classes, methods, functions): Java Security Domains |
Starting from S60 3rd Edition Feature Pack 2, security prompting has been enhanced by allowing the end user to define how often he or she wishes to get the security prompts during the application runtime. This enhancement has been adopted by certain S60 3rd Edition, Feature Pack 2 and S60 5th Edition devices.
When the end user defines the Ask once for session option for the messaging function group by using the prompt enhancement, the application is set to use the Always allowed option instead.
1. Implement a test application using, for example, the code snippet available in this article: KIJ001371 - Wrong exception thrown when sending SMS messages that are too long.
Edit the String value for the variable mese to be shorter than in the example.
2. Send an SMS. Set Ask once for session when the prompt enhancement pops up and queries the preferred prompt option.
3. Close the application after setting the prompt option and sending the SMS.
4. Relaunch the test application and repeat step 2. No preferred permissions will be asked for this session.
This issue is expected to be fixed in future S60 5th Edition devices.
No related wiki articles found