×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    5

    X3-02 device error - weird issue

    Hi,

    can someone from Nokia answer me about follow issue?

    try {
    Manager.playTone(ToneControl.C4, 500, 100);

    } catch (MediaException ex) {
    ex.printStackTrace();
    }

    When is on X3-02 sound switch off .. Manager throw device error but if I change sound from silent to normal everything is ok.
    Why it is ? And why I have to solve issue as this ? It's another example how Nokia implementing JSR into their handset ...

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: X3-02 device error - weird issue

    The JSR-135 says about playTone and Exceptions
    "MediaException - Thrown if the tone cannot be played due to a device-related problem."

    To me that throwing that exception when sounds are off feels like reasonable interpretation of this specification, although I am not sure if this approach is consistent with other phones and platforms.

    And no, this is not an official answer - I am in no position to make those kinds of statements. It is just my opinion.

    Hartti

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    5

    Re: X3-02 device error - weird issue

    Sorry but I dont think so its reasonable interpretation.


    Quote Originally Posted by hartti View Post
    The JSR-135 says about playTone and Exceptions
    "MediaException - Thrown if the tone cannot be played due to a device-related problem."

    To me that throwing that exception when sounds are off feels like reasonable interpretation of this specification, although I am not sure if this approach is consistent with other phones and platforms.

    And no, this is not an official answer - I am in no position to make those kinds of statements. It is just my opinion.

    Hartti

Similar Threads

  1. how to get mac address for x3-02 ?
    By iPockz in forum Wired and Wireless interfaces (Closed)
    Replies: 4
    Last Post: 2010-12-22, 02:18
  2. Nokia x3-02 touch and type
    By chaitanyabhargav27 in forum General Development Questions
    Replies: 1
    Last Post: 2010-10-06, 08:09
  3. Issues with Mp3 progressive_download Playing on S40 V3FP5 with Nokia X3-02
    By vngwcc in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2010-10-05, 18:53
  4. Can Java MMAPI on S40 V6, X3-02 Support music streaming?
    By vngwcc in forum Mobile Java General
    Replies: 1
    Last Post: 2010-10-02, 14:46
  5. Nokia X3-02, which SDK, and what about the soft keys?
    By levon.levonian in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2010-08-24, 00:19

Posting Permissions

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