Read new messages from Android, take a screenshot, send the picture to Wechat user.
- subprocess
- pinyin (Chinese not supported by ADB, messages must be transformed to Pinyin)
python3 /path/to/relay_msg.py wechat_user
or
crontab -e
*/5 * * * * /path/to/relay_msg.py USER >> /var/log/relaymsg.log 2>&1
- Python3.11
- Gentoo Linux 2.9
- Galaxy On7(2016)
- Android 8.0.0