×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    How can prevent my app from closing by pressing cancel [red] button in nokia E71

    I have submited my app for nokia s60 3rd edition devices on ovi store but didn't pass QA. I have recived following email.

    1. Download the content OTA.
    2. Install and launch the application.
    3. Receive an incoming phone call.
    4. End the phone call in the normal way on the test device.
    ACTUAL RESULT: The application closes unexpectedly.
    EXPECTED RESULT: The voice call must be ended and the content file functions as expected.

    How can I prevent my app unexpectedly closing as voice call ended using nokia web tools.

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2007
    Posts
    441

    Re: How can prevent my app from closing by pressing cancel [red] button in nokia E71

    Hi

    By default right soft key is assigned to the "Exit" function, which terminates a running widget. To alter default behavior you need to use setRightSoftkeyLabel()

    also have a look at the article "Managing widgets on mobile devices" about widget life cycle and how to alter it by using
    • softkey set
    • providing event handler to widget.onhide event
    • providing event handler to widget.onexit event

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Re: How can prevent my app from closing by pressing cancel [red] button in nokia E71

    The application is closing on clicking red button , is there any way to control red button click?
    Last edited by DanSiddiqui; 2012-06-18 at 12:01.

  4. #4
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: How can prevent my app from closing by pressing cancel [red] button in nokia E71

    Hi,

    If it is a Symbian Web Runtime Widget, you cannot have control on red button click.

    ps.
    Moving to Symbian WRT.

    Br,
    Ilkka

  5. #5
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Re: How can prevent my app from closing by pressing cancel [red] button in nokia E71

    ok thanx so i am using

    widget.onshow = function() {
    alert("Loading");
    }


    may be this will solve the problem.
    Last edited by DanSiddiqui; 2012-06-18 at 13:21.

Similar Threads

  1. Replies: 21
    Last Post: 2011-03-17, 08:16
  2. Replies: 2
    Last Post: 2010-08-05, 14:24
  3. How to prevent Midlet closing with Hang up button
    By dschmider in forum Mobile Java General
    Replies: 5
    Last Post: 2010-03-05, 12:42
  4. Replies: 3
    Last Post: 2009-09-17, 19:48
  5. Replies: 4
    Last Post: 2007-11-22, 11:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •