Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Messaging interprets 'Ask once for session' as 'Always allowed' in S60 5th Edition (Known Issue)

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Created: User:Technical writer 1 (12 May 2009)
Last edited: hamishwillee (24 Jul 2013)


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: Wrong exception thrown when sending SMS messages that are too long using Java ME (Known Issue).
    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.

This page was last modified on 24 July 2013, at 04:46.
30 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.