Sending SMS from a Windows application

I am creating a Windows application that should send some sms to a mobile phone. This is just for testing purposes. Now I can use my mobile phone to do this. I have an Android phone that can be connected to a PC via USB.

The application was created in C ++, windows api.

Any pointers will help

+3
source share
5 answers

You can write a simple Android application that runs in the background that checks for text files. When you want to send an SMS, simply click on the new text file with the phone number and message on the SD card. To do this, you can use the Android add push command for Android. This is a hacker way, would not recommend it if it is just for basic testing

Another option is to use an online gateway such as Twilio. It is very easy to configure and makes it easy to send messages through a simple HTTP-api. You can use CURL to connect to an HTTP site through C ++.

+3
source

In fact, you have 3 options.

1) SMS- ( , )

2) API android , USB- /


3) Windows , , , ActiveSync. # 3 .

SMS-, 3, . 2 3 , .

+3

, Ph win32 PC, .

SMS AT-, COM-, U , . Nokia 6070, 3100

.

CBuildre6

https://sites.google.com/site/xpressdms/rosegarden

, , SMS AT-

0

Another way, if you have a Windows 8.1 phone, is to use http://texttophone.free.fr/

0
source

Source: https://habr.com/ru/post/1750267/


All Articles