I'm currently working on an android app weather that will retrieve data from a server where internet connection is set and will be using SMS to get data from the server where internet connection is down. How can i do that ? the first part works perfectly. I have a struggle on getting data via sms.
Asked
Active
Viewed 34 times
0
-
You can use `BroadcastReceiver` to watch for incoming SMS: http://stackoverflow.com/questions/4117701/android-sms-broadcast-receiver. – Ziem Feb 23 '16 at 17:21
-
You can send SMS though Email using a [SMS gateway protocol.](https://en.wikipedia.org/wiki/SMS_gateway) - This does however require you to know the carrier the device is on. What language are you writing your server in? – Helix Feb 23 '16 at 17:30
-
I'm using an existing free weather server online, and i'm asked to develop the client part. thank you – amine Feb 23 '16 at 18:03