phone state

  1. I

    Android Question Screen/Phones Locked Status

    Hi Guys Does anyone know how to check if the phone/screen is locked? Thanks iCAB
  2. I

    Android Question PhoneStateListener vs BroadcastReceiver

    There are two ways to wait for a phone call. One is to have a service to monitor PhoneStateChanged event of PhoneEvents and other is to have a Broadcast Receiver service for android.intent.action.PHONE_STATE. The benefit of Broadcast Receiver is that you don't need to worry about keeping your...
  3. peacemaker

    Android Code Snippet PhoneStateChanged sample: all possible calling states

    I have reworked my old code sample basing on StackOverflow example code: Depends on: Phone lib DO not forget at an activity to request PERMISSION_READ_PHONE_STATE.