This is the most common technique used by Android spyware found in public repositories.

Sending logged data to a remote server, via email, or Discord webhooks.

Once a keylogger is installed on an Android device, it can:

Another approach found in open-source repositories is the creation of a custom virtual keyboard.

The legal and ethical landscape surrounding keyloggers is complex and severe.

Some repositories offer legitimate detection scripts: