×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    21

    Question Can my java application play sound if phone is silent.

    i have made an application that plays some sound files.

    it plys the sound file if the profile is GENERAL.
    but when the profile is SILENT it does not plays the sound.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: Can my java application play sound if phone is silent.

    It is the "Warning tones" profile setting that governs this.

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    21

    Smile Re: Can my java application play sound if phone is silent.

    Quote Originally Posted by petrib View Post
    It is the "Warning tones" profile setting that governs this.
    thanks...

    can you just elaborate more that how do i get it........

    i using JDK1.6 with netbeans 6.5

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: Can my java application play sound if phone is silent.

    Quote Originally Posted by antas512 View Post
    thanks...

    can you just elaborate more that how do i get it........

    i using JDK1.6 with netbeans 6.5
    this is what is being referred to by petrib in his post.
    Cheers,
    Mayank

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: Can my java application play sound if phone is silent.

    Right. And, as far as I'm aware, there is no way from a MIDlet to turn on/off the warning tones profile setting.

  6. #6
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Can my java application play sound if phone is silent.

    Hi,
    When the profile setting is silent the resources will not be available for the application to have the sound.You cannot play the sound when the profile is setted as Silent.

    Thanks
    Soku

  7. #7
    Registered User
    Join Date
    May 2009
    Posts
    21

    Post Re: Can my java application play sound if phone is silent.

    cant we play the sound even if it is not a warning tone but a ".amr" audio..

    same we do to play our sound files other than provivded by NOKIA phones like .amr ringtones etc.

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: Can my java application play sound if phone is silent.

    If the warning tones setting for the profile is off, the MIDlet will not be able to generate any sounds no matter how you want to do it. There is nothing you can do about it, except that Symbian/S60 devices you can, of course, switch to C++, instead of Java.

Similar Threads

  1. use CMdaAudioPlayerUtility play sound
    By HellenZ in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2010-02-22, 15:15
  2. Is it possible to modify sound stream from java application?
    By vity-ok in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2007-02-06, 17:50
  3. Nokia Smart Expert - solve this sound problem
    By tsoh_tan in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-10-30, 04:36
  4. Does java application can recognize phone call
    By mikeaf in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-05, 15:06

Posting Permissions

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