×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Expert
    Join Date
    Feb 2013
    Posts
    1

    S40 Java , find out ring volume and / or ring profile

    Hi All,

    Is it possible to find out the ring volume and / or ring profile from Series 40 Java? (For example Silent, Vibrate, Ring)

    Thanks,
    Jay

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: S40 Java , find out ring volume and / or ring profile

    Quote Originally Posted by James987654 View Post
    Hi All,

    Is it possible to find out the ring volume and / or ring profile from Series 40 Java? (For example Silent, Vibrate, Ring)

    Thanks,
    Jay
    Hi James987654! Welcome to Nokia Developer Discussion Boards!!

    AFAIK, there is no publicly available API's to find out call ring volume / current device profile from a Java App. But your title says you are a Nokia Internal(?) and may be you can look for any available internal/private API's

    Regards
    Gopal

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: S40 Java , find out ring volume and / or ring profile

    You might be able to find out if vibrate is enabled by:

    Code:
    boolean vibrateEnabled;
    try {
        com.nokia.mid.ui.DeviceControl.startVibra(0,0);
        vibrateEnabled = true;
    } catch (IllegalStateException e) {
        vibrateEnabled = false;
    }
    However, support for Nokia UI APIs can be patchy, especially on Series 60, so you'll need to do some extensive cross-device testing to see if this actually works.

Similar Threads

  1. Qmessage of type sms, receiver number returns ring/tel/ring
    By bassejepsen in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2010-08-09, 11:37
  2. Replies: 4
    Last Post: 2008-07-30, 10:15
  3. changing ring volume
    By dudi in forum Symbian
    Replies: 0
    Last Post: 2008-05-27, 07:40
  4. How to reduce profile ring volume
    By sevenhills in forum Symbian
    Replies: 5
    Last Post: 2008-04-24, 11:36
  5. Volume of the Ring Tone!
    By mangelica in forum General Development Questions
    Replies: 1
    Last Post: 2006-09-12, 04:42

Posting Permissions

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