×

Discussion Board

Results 1 to 9 of 9

Hybrid View

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    11

    hideNotify() not invoked on latest Asha firmware (7.36)

    Hi,

    I developed a game for the Ahsa 311. With firmware 5.92 pausing the app when suspending the application in the background worked,
    but with firmware 7.36 hideNotify() is invoked when the application goes back in the foreground and not when it goes in the background.
    SUMMARY: When suspending the application in the background, the application's sound is still enabled.
    STEPS TO REPRODUCE:
    1. Download the content OTA.
    2. Install and launch the content file with the audio on.
    3. Suspend the application in the background.
    ACTUAL RESULT: The application's sound is still enabled, when the application is suspended in background.
    EXPECTED RESULT: Audio from the content file should not play while the content file is in the background, unless the audio is the application's main feature; for example, music player or radio.
    AFFECTED DEVICES: Nokia 311 firmware 07.36.
    FREQUENCY REPRODUCED: 100%.
    How can I fix this?

    Thanks in advance, Matthias.Bay

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    603

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    Doesnt seem logic to me that you get called hideNotify() when the app goes back to the foreground, but as for your problem.
    You could try implmeneting your pause logic in the pauseApp callback of the midlet.

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    11

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    Thanks for your answer.
    I've tried that, but it doesn't work. Somewhere I read that pauseApp in never called on Nokia devices.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    pauseApp is never called on Nokia S60 based J2me device - but in S40 it is called and you can try using it.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  5. #5
    Registered User
    Join Date
    Feb 2013
    Posts
    11

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    As mentioned before, it doesn't work.
    I found the article again: http://developer.nokia.com/Community...e_on_Interrupt
    I'll try the "SuspendDetector", I hope it works...

    Edit:
    No, this doesn't work either. Is there a different way to notice when the app has gone in the background?
    Or is it a bug (since it worked with firmware 5.92)?
    Last edited by Matthias.Bay; 2013-08-26 at 17:14.

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    this may be not correct but when the user suspends the app doesnt your midlets destroyApp method invoked ??
    Last edited by gaba88; 2013-08-27 at 06:31.

  7. #7
    Registered User
    Join Date
    May 2008
    Location
    Surat Thani
    Posts
    258

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    If there's really no way to know that the app goes to the background, and the current QA failure reason is sound related, the app might pass QA if you completely disable sound on Asha 311 devices with the problematic firmware (you can probably detect it from "microedition.platform" system property). This is not optimal, but probably better than not being to publish for 311s at all

  8. #8
    Registered User
    Join Date
    Feb 2013
    Posts
    11

    Re: hideNotify() not invoked on latest Asha firmware (7.36)

    I published the app with the music, but added a Notice in the app description.
    I also reported this as a bug. Sadly the bug-page has been shut down

Similar Threads

  1. Can't launch debugger on Asha device with latest firmwire.
    By rocjohn in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2013-05-28, 16:04
  2. Need for welcome [WAS: Re: Latest Firmware Info!]
    By kellyj994 in forum General Development Questions
    Replies: 2
    Last Post: 2010-11-30, 11:13
  3. latest Firmware
    By sumit.rathi in forum Symbian
    Replies: 1
    Last Post: 2008-12-26, 11:36
  4. 6230i: Latest firmware
    By mdw75 in forum General Development Questions
    Replies: 3
    Last Post: 2005-08-02, 14:02
  5. Latest firmware 6630???
    By aks_tomer in forum General Development Questions
    Replies: 1
    Last Post: 2005-05-18, 15:46

Posting Permissions

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