I am creating a windows application which needs to send some sms to mobile phone.This is just for testing purpose.
Now can I use my cell phone to get this done. I have android phone which can be connected to pc using USB.
Application is created in C++, windows api.
Any pointers will help
You can write a simple android application that runs in the background that checks for text files. When you want to send an SMS just push a new text file with the phone number and the message onto the sd card. You can use the android SDK ‘adb push’ command for that. It’s a hacky way tho, wouldn’t recommend it unless it’s just for basic testing
Another option is using an online gateway such as Twilio. It’s super easy to set up and allows you to easily send messages through an easy to use HTTP api. You can use CURL to connect to a HTTP site through C++.