Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User madhan_mdn's Avatar
    Join Date
    Oct 2009
    Location
    Pune
    Posts
    3
    Hi All,

    My team is facing an issue with the alerts.

    In the J2ME application, where ever an alert is displayed with Yes/No options, if I click on Yes 2 times really fast I get an application error.

    It happens consistently in all alerts where clicking on Yes leads to some db action.

    Example:

    After doing some edit in a screen, click 'Back', application displays an alert to save the changes with Yes or No option.
    While clicking 'Yes' it should save the changes. Here instead of clicking once, if I double click 'Yes' really fast, i get the application error. It occurs consistently.

    Is there a way to resolve this issue.

  2. #2
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    What device?

    When you see "application error", is there an option "details"? What are the details?

    Graham.

  3. #3
    Registered User madhan_mdn's Avatar
    Join Date
    Oct 2009
    Location
    Pune
    Posts
    3
    No. There is only option to Quit. The application closes on clicking that.

  4. #4
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Quote Originally Posted by grahamhughes View Post
    What device?
    Seriously, the more you tell us, the more we can help you.

    What device(s) does this happen on? Are there devices it doesn't happen on? Does it happen in emulators?

  5. #5
    Registered User madhan_mdn's Avatar
    Join Date
    Oct 2009
    Location
    Pune
    Posts
    3
    Quote Originally Posted by grahamhughes View Post
    Seriously, the more you tell us, the more we can help you.

    What device(s) does this happen on? Are there devices it doesn't happen on? Does it happen in emulators?
    It happens on Nokia 3110c and Nokia 6300 the 2 devices we use for testing. It doesn't occur on an emulator.
    Yet to find a device where it doesn't happen.

  6. #6
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    These are both Series 40s. Are you sure there is no "details" option when you see "application error"?

    What emulator are you using? Try a Nokia Series 40 emulator if you're not doing so already.

    Try wrapping the commandAction() method(s) in try...catch(Throwable). Does that make any difference?

    If that doesn't help, try calling setCommandListener(null) in the commandAction() method on the Displayable object before the current Displayable changes.

    Graham.

Similar Threads

  1. Replies: 8
    Last Post: 2009-01-20, 13:47
  2. How to trigger the application by button click event
    By girishvmx in forum Symbian C++
    Replies: 5
    Last Post: 2008-12-08, 08:25
  3. Debugging Symbian S60 with Carbide C++ Express and NCF 1.2 Bluetooth
    By jimgilmour1 in forum Bluetooth Technology
    Replies: 4
    Last Post: 2006-09-05, 19:30
  4. Replies: 1
    Last Post: 2005-06-17, 15:00
  5. How to detect a double click event in S60 C++
    By kdinn in forum Symbian C++
    Replies: 0
    Last Post: 2002-12-11, 04:28

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