An open API service indexing awesome lists of open source software.

https://github.com/merail/incoming-call-handler

Android application for handling incoming calls.
https://github.com/merail/incoming-call-handler

android broadcastreceiver call incoming java

Last synced: 4 months ago
JSON representation

Android application for handling incoming calls.

Awesome Lists containing this project

README

          

# Detailed description

Article on Medium: https://medium.com/@merail/incoming-call-handler-0c57e8ae7188

# Short description

This Android app demonstrates examples of usage:
1. ```BroadcastReceiver``` for catching calls.
2. ```CallScreeningService``` for cathing calls with Android 10+.
3. Creating a window from the ```BroadcastReceiver```/```CallScreeningService```.
4. Dragging the created window.

The following permissions are required to complete these steps:
1. ```android.permission.READ_PHONE_STATE```.
2. ```android.permission.READ_CONTACTS```.
3. ```android.permission.READ_CALL_LOG```.
4. ```android.permission.SYSTEM_ALERT_WINDOW```.

Also for Android 10+, the application needs to install the ```ROLE_CALL_SCREENING``` role.

> [!NOTE]
> [Request Permissions Tool](https://github.com/merail/android-request-permissions-tool) is used for handling permissions.

Handling of incoming calls will also work when the application is closed and after a device reboot.

**Note**: Android Marshmellow may have problems with handling due to security policy.

https://github.com/user-attachments/assets/5d2454f2-97ac-4b5f-9ed6-fcdbe15c2e72