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.
- Host: GitHub
- URL: https://github.com/merail/incoming-call-handler
- Owner: merail
- Created: 2021-12-04T19:43:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T17:26:26.000Z (about 2 years ago)
- Last Synced: 2024-04-06T18:29:51.387Z (about 2 years ago)
- Topics: android, broadcastreceiver, call, incoming, java
- Language: Java
- Homepage:
- Size: 297 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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