Solved

droid 2.1 every caller silent ringtone except one

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.
Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
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…

705 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