Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2013

    Question Nokia Asha 305 Sound problem

    I am developing an app for Nokia Asha 305. I am playing a
    *.midi file in my app in case of an incoming call "pauseApp()"
    method in midlet is not being evoked, also after the call is ended
    when my app tries to play sound in "showNotify()" method the player
    is generating "javax.microedition.media.MediaException: Sounds not
    allowed" exception.

    Please tell me how to handle incoming call event in Nokia Asha 305.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Nokia Asha 305 Sound problem

    Moved to the Java boards. Even in the case you got this as a QA report, this question has little to do with publishing.
    The text, javax.microedition.media.MediaException: Sounds not allowed seems to be specific enough, have you tried searching for it (Bing, Google, etc.)?

  3. #3
    Registered User
    Join Date
    Jul 2013

    Re: Nokia Asha 305 Sound problem

    Thank you sir for the reply. I wanted to know that in case of an incoming call what is the behavior of Nokia Asha 305? Does pauseApp() method of midlet is called or not? If not do I have to handle sound player operations on show and hide notify methods only?

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2013

    Re: Nokia Asha 305 Sound problem

    I would suggest always implement both pauseApp of a midlet and hideNotify of the canvas and treat them the same (but make sure you only react to them once if both are called one after the other).
    Heard of DVLUP? Join here

Similar Threads

  1. Nokia Asha SDK 1.1 Gamecanvas problem
    By imn001 in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2014-01-05, 19:09
  2. Nokia Asha 501 LWUIT (Asha SDK 1.0) setScrollable(false) not having an effect
    By Gureen.Ryuu in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-10-30, 12:14
  3. Replies: 0
    Last Post: 2013-09-22, 13:12

Posting Permissions

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