Hello.

I am really struggling with trying to figure out the correct usage of
the getRingerMode() function.

I am simply trying to sdetermine the current ringer state and apply
that value to a variable. However when I implement this, the value is
always 0 regardless of the acrtual ringer mode.

Here is my code

private int currentRingerMode;

}
    public int getRingerMode() {
                return currentRingerMode;
 }

But when I log the value of the variable with: Log.v(TAG, "value=" +
currentRingerMode); - a value of 0 is always returned, regardless of
the the ringer state...???

What am I doing wrong?

Brian
www.jaydien.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to