Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

droid 2.1 every caller silent ringtone except one

Posted on 2012-03-11
2
Medium Priority
?
392 Views
Last Modified: 2012-03-21
droid 2.1 every caller silent ringtone except one
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
Santhana earned 2000 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
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.
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…

610 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