Is this the same for outgoing calls? They also cannot be interecepted in 1.0? If so, what is the purpose of ACTION_NEW_OUTGOING_CALL? this is from the documentation: "It is perfectly acceptable for multiple receivers to process the outgoing call in turn: for example, a parental control application might verify that the user is authorized to place the call at that time, then a number-rewriting application might add an area code if one was not specified.
For consistency, any receiver whose purpose is to prohibit phone calls should have a priority of 0, to ensure it will see the final phone number to be dialed. Any receiver whose purpose is to rewrite phone numbers to be called should have a positive priority. Negative priorities are reserved for the system for this broadcast; using them may cause problems." If i understand correctly, the outgoing call can be ended, and we can also get the dialed number from the Intent's info. Is this correct? On Oct 1, 7:52 pm, hackbod <[EMAIL PROTECTED]> wrote: > Sorry, intercepting incoming calls is not supported in 1.0. > > On Oct 1, 9:20 am, Trey Ethridge <[EMAIL PROTECTED]> wrote: > > > > > I'd like to expand the logic of when to send a call directly to > > voicemail. I believe that there would need to be a hook somewhere to > > "intercept the incoming call" and determine whether or not to accept > > it. > > > An example use case would be to prevent "drunk dialing". There could > > be a setting in Android that would allow the user to set the device to > > send all calls to voicemail if the the caller is not in the "family" > > contact list and it is between 11:00 PM and 7:00 AM. > > > We have a checkbox to allow users to send all calls to voicemail from > > a given contact, so I don't see why this should be a problem. Is this > > going to be possible? > > > -- Trey > > > On Sep 27, 4:27 pm, Eric B <[EMAIL PROTECTED]> wrote: > > > > One of the best apps I've every bought for my Treo 600/650 is an app > > > that lets you assign specific ring tones (really mp3 files) to > > > specific contacts or groups of contacts. I especially like the > > > ability to turn off the ringer and vibrator for calls with no caller > > > id. > > > > I don't think this kind of app would be possible without being able > > > tointerceptacall. > > > > Thanks, > > > Eric- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---