Thank you for answering Kumar. Actually, there is no such option in the Contacts provider. The option is available in the ContactsContract provider since API Level 5 though.
But I know some apps do forward phone calls to voicemail at least since API level 3. So there must be some other way. Any other idea frankly appreciated :) Greets. On 21 jan, 20:20, Kumar Bibek <coomar....@gmail.com> wrote: > In the contacts Content Provider, there is a field for this. If you > set this, then all the calls will be diverted to voice mail. > > Kumar Bibek > > On Jan 21, 4:32 pm, Arbixx <arb...@gmail.com> wrote: > > > > > Hello guyz, > > > I've been searching around the net and browsingthe APIs to find a way > > to forward an incoming phone call to voice mail, but with no success > > so far. > > > I know it can be done since some apps do it already. I also know that > > blocking an incoming phone call is not possible yet and is an issue > > Google devs are working on. > > > In the app i'm coding, I easily manage to detect an incoming phone > > call by listening to the phone state. But I cant make the phone NOT > > ring and NOT show the incoming phone call screen. I' ve tried to cut > > off the network via a ServiceState object, but that doesn't seem to > > work. > > > Anyone has a clue on how it can be done ? > > > Thanks in advance. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en