Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User casebash's Avatar
    Join Date
    Mar 2010
    Posts
    5
    My Java application displays a password that displays an alert after it times out. In Symbian 9.1/9.2, but not 9.3, if the alert occurs while a user has the menu open to select a command, then the application freezes on the alert. Selecting the okay button does nothing. Are there any workarounds for this?
    Last edited by casebash; 2010-04-08 at 07:16.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    how excatly are you handling the alert ?

  3. #3
    Registered User casebash's Avatar
    Join Date
    Mar 2010
    Posts
    5
    I am using the default handler (the alert is implicitly dismissed)

  4. #4
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    How are you setting the aler, basically you need to tell the excat methods you are using, and propably show code snippeds on the parts where you are doing it in a code. Also please do not post unneccessary code, since it makes it so much harder to read.

  5. #5
    Registered User casebash's Avatar
    Join Date
    Mar 2010
    Posts
    5
    Here is the code as requested

    Calling the alert:

    Code:
    	timer.schedule(new TimerTask(){
    		public void run(){
    			Alert codeExpiry=createAlert("Your current token has expired. Close this alert and a new token will be displayed", AlertType.INFO);
    			Display.getDisplay(midlet).setCurrent(codeExpiry);	
    		}
    	},APPLICATION_TIME_OUT_SECONDS * 1000);
    CreateAlert method:

    Code:
    	public static Alert createAlert(String message, AlertType type) {
    		Alert msgBox = new Alert("Mi-Token", message, null, type);
    		msgBox.setTimeout(Alert.FOREVER);
    		return msgBox;
    	}

  6. #6
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    What API is timer ? what API is Alert ? What API is String ?, also you should maybe consider writing wtuff more in C++ style, it usually works better that way.

  7. #7
    Registered User casebash's Avatar
    Join Date
    Mar 2010
    Posts
    5
    This is Java

  8. #8
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    Actually just noticed that this is under "Series 40 & S60 Platform Feedback", so I would then need to to specify on which technology you are working with, and you should in future remember to ask always under the technology used.

  9. #9
    Registered User casebash's Avatar
    Join Date
    Mar 2010
    Posts
    5
    Is this the wrong location for a bug report?

  10. #10
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    I would check by asking in java section to see whether it is bug on your code, or in system first.

Similar Threads

  1. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian C++
    Replies: 0
    Last Post: 2004-05-21, 11:16
  2. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian C++
    Replies: 2
    Last Post: 2004-05-08, 09:09
  3. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-05-07, 12:17
  4. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian C++
    Replies: 0
    Last Post: 2004-05-07, 11:45
  5. Replies: 1
    Last Post: 2002-05-08, 16:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
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