0
Is there any Python3 modules that can be used to send and recieve messages through your phone remotely from your computer.
I've been thinking of making a native desktop application using python3 with kivy and I need a way to send and recieve messages with the user's phone number. Are there any resources that I can use to help me with this problem. Also I do not want to use twilio or any other payed APIs or else I wouldn't have asked.
3 ответов
+ 3
you can connect an android phone via Bluetooth to your computer. You'll need an app to send text message and sender number to the computer via BT serial, when an sms is received.
On the computer side you need a program listening for and handling incoming serial data on the BT serial port.
this is one way of doing it and if you're not familiar with android app development you can use appinventor. For the computer side program you can easily use Processing or python (using pyserial).
+ 3
Another way is by using a remote server and database to store the messages.
The data can be sent and retreived easily with a web interface on both devices computer and mobile. Plus it's platform independent. Look at Burey.s chat for a working example using firebase in the Code Playground.
Minus: it may be more complex as you have to create a registration protocol and provide credentials for each device and security will never be enough.
Below is a nice article for making http requests with python3 modules. (Don't mind that is from the twilio blog)
https://www.twilio.com/blog/2016/12/http-requests-in-JUMP_LINK__&&__python__&&__JUMP_LINK-3.html
0
Thank you seamiki for the advice, I will surely look into bothe options and see which works best for my application.