I am developing an android application in which the device's current location is posted to my Web API after every 3 seconds using internet. My web api is hosted on server. Without internet, location updates won't be posted to the server.
What I want is that, when internet is not available on the mobile device, want to send location using sms.
I looked into twilio. But I couldn't find a good tutorial on how to use it in android and how to send sms to a URL.
How do I post data to my server using sms without internet?