Solved

droid 2.1 every caller silent ringtone except one

Posted on 2012-03-11
2
387 Views
Last Modified: 2012-03-21
droid 2.1 every caller silent ringtone except one
0
Comment
Question by:rgb192
2 Comments
 
LVL 8

Accepted Solution

by:
Santhana earned 500 total points
ID: 37732478
Hi rgb192,

I thing this feature is not avalilable in any existing android devices....(But possible).  Lots of apps are available in market to switch between silent and normal mode... But i did n't see any app to make selected contact non silent in silent mode.


Technically speaking audioManager is taking care of these kind of work in android....
Through the audio manager we can get the phones current  audio state.

AudioManager am = (AudioManager)getSystemService(Context.AUDIO_SERVICE);
 
switch (am.getRingerMode()) {
    case AudioManager.RINGER_MODE_SILENT:
        Log.i("MyApp","Silent mode");
        break;
    case AudioManager.RINGER_MODE_VIBRATE:
        Log.i("MyApp","Vibrate mode");
        break;
    case AudioManager.RINGER_MODE_NORMAL:
        Log.i("MyApp","Normal mode");
        break;
}


Basically phone module will check this state while it receive any  incommingcall/msg . If the phone audio state is AudioManager.RINGER_MODE_NORMAL it will pick the particular ring tone to play.....

If the  state is AudioManager.RINGER_MODE_VIBRATE , it will just vibrate...

So we need to cutomize this module to achieve your requirment.....

In some HUAWEI mobiles i have seen option to set ring tone to each contact  separetely. I don't know whether this feature is available in base google code...or not....

So finally what i am trying to say is currently there is no such feature available...
0
 

Author Closing Comment

by:rgb192
ID: 37750741
Thanks
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question