Notification if someone calls

Whenever the phone rings I would like to notify my application that a call has been recieved from some number, can someone pass on an sample/exmaple code - please?

Posts

  • talenonetalenone SAMember

    super!!! tons of thanks.
    Will write back on this once tested.

  • SonuPatelSonuPatel INMember

    hello @CHIEW THOU CHANGD
    thanks for ur code i was having the same problem...
    howerver

    Don't we need any PhoneStateListner class to know changes in the phoneState?
    if it is needed help me with the sample code

  • CheesebaronCheesebaron DKInsider, University mod

    The OnReceive method will get called when PHONE_STATE changes, hence no need for a PhoneStateListener...

  • RoryGennaroRoryGennaro ITMember

    Great ! Finally some one that know truly monodroid

  • PierreJneidPierreJneid USMember
    edited January 2015

    How I can turn device screen on when I received a notification? thanks

  • gelzohgelzoh AUMember

    I tried this same example from a clean solution and it is not working for me. the OnReceive method is never reached.
    Do you need to do something in the mainActivity?

  • andreacurtiandreacurti ITUniversity ✭✭

    @gelzoh said:
    I tried this same example from a clean solution and it is not working for me. the OnReceive method is never reached.
    Do you need to do something in the mainActivity?

    I'm experiencing the same problem. Still not found any solution. Does anyone have some solutions?

  • Andy.8486Andy.8486 USMember

    IOS sample?

Sign In or Register to comment.