Python
Forwarding Android Phone SMS to WeChat Contacts via ADB
relay\_msg.py * Forward Android device SMS messages to WeChat contacts in the form of screenshots. Use Cases * An Android phone placed in the office area as a h
relay_msg.py
Forward Android device SMS messages to WeChat contacts in the form of screenshots.
Use Cases
An Android phone placed in the office area as a hotspot, linked to various apps and bank cards, needs to forward unread SMS to an iPhone.
Required Python modules
- subprocess
- pinyin (ADB does not support Chinese, so it must be converted to pinyin before sending, hence the need for screenshots)
Usage
python3 /path/to/relay_msg.py WeChat_contact
or
crontab -e
*/5 * * * * /path/to/relay_msg.py wechat_contact >> /var/log/relaymsg.log 2>&1
Author
Tested Platforms
- Python 3.11
- Gentoo Linux 2.9
- Galaxy On7 (2016)
- Android 8.0.0
Source Code
◆
评论Comments
加载中…Loading…
留下评论Leave a comment