You Are Here:

Community: Wiki

This page was last modified on 12 June 2009, at 11:16.

KIJ001378 - Messaging interprets 'Ask once for session' as 'Always allowed' in S60 5th Edition

From Forum Nokia Wiki



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


Description

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.

How to reproduce

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.

Solution

This issue is expected to be fixed in future S60 5th Edition devices.

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia