T
T
tenmo2021-07-23 14:45:32
Python
tenmo, 2021-07-23 14:45:32

How to send SMS from Android to other phones from computer?

Hello.
Here's the thing. I receive notifications about the status of my system on my computer and, since mail cannot always be checked in time, I want an SMS message to be automatically sent to my phone using an android device.
The following options are considered:
1) The Android device is connected via USB in modem mode 2) By wifi
and actions (getting the content of the message) are performed at the mac-address because of its persistence

do it?
Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AUser0, 2021-07-23
@AUser0

Use gammu, everything will work with one shell command.
If your bicycle invention is everything, study AT commands, and send them through them. But through gammu naaaaaa much easier and more efficient.
PS Or do you not tolerate compromises, and work under a self-written OS on self-made Python?

A
Armenian Radio, 2021-07-23
@gbg

Put adb on the computer, connect the phone with a wire, turn it on and coordinate debugging.
Next, do it from a PC

adb shell service call isms 7 i32 0 s16 "com.android.mms.service" s16 "+1234567890" s16 "null" s16 "Hey\ you\ !" s16 "null" s16 "null"

Well, actually everything
The same can be done via WiFi, for this you need to ask a question (preferably in Google) "how to debug an android via Wi-FI"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question