Namespaces
Variants
Actions

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

Jump to: navigation, search
Article Metadata

Tested with
Devices(s): Nokia 5800 XpressMusic

Compatibility
Platform(s): S60 3rd Edition FP2, S60 5th Edition

Article
Keywords: Java Security Domains
Created: User:Technical writer 1 (12 May 2009)
Last edited: hamishwillee (01 Aug 2012)


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: 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.

Solution

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

This page was last modified on 1 August 2012, at 07:40.
77 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved