Solved

droid 2.1 every caller silent ringtone except one

Posted on 2012-03-11
2
384 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:
santhanasamy 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction This article is a continuation of Part-1 as evident from the title. Please visit this page (http://www.experts-exchange.com/articles/18706/Backing-up-personal-data-on-your-Android-device-Part-1.html) to read the earlier Part -1. If y…
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now