Solved

droid 2.1 every caller silent ringtone except one

Posted on 2012-03-11
2
385 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This is an explanation of a simple data model to help parse a JSON feed
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.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

911 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

16 Experts available now in Live!

Get 1:1 Help Now