Sending SMS to customers informing them of bills, balance and payments made.
[ in my case it's to tenants ]
Bad way 1 : subscribe to a SMS gateway service in BD. That's more hassle and costs more money than I am willing to.
Bad way 2 : write an Android app for it. Will result into maintaining a 2 GB development environment just to update the app. And the hassle of reinstalling that app on your phone after every bit of change.
The way I did it :
- Install Terminux on the Android cell phone. This is a Linux shell like bash environment running on your Android device. No need to root your phone. You can even ssh into your phone remotely from your laptop like sshing into a server.
- Write and run a 10 line script on the phone, that regularly polls your application server and sends the corresponding SMS when one needs to be sent.
Done.
You basically have built a SMS gateway using your old phone where you can ssh in and change whatever you need as per your wish.
- Comments:
- search if one is available. i don't watch youtube videos for these. rather find written how-tos more explanatory and useful.