Skip to content

zobaer53/CallerNameFloatingWindow

Repository files navigation

This Android app demonstrates examples of usage:

  1. BroadcastReceiver for catching calls.
  2. Creating a window from the BroadcastReceiver.
  3. Dragging the created window.
  4. Show caller's name (only if contact saved) and number.
  5. Button for Canceling floating window
  6. Works while phone is locked

The following permissions are required to complete these steps:

  1. android.permission.READ_PHONE_STATE.
  2. android.permission.READ_CALL_LOG.
  3. android.permission.SYSTEM_ALERT_WINDOW.
  4. android.permission.READ_CONTACTS.

ScreenShoot