I\'ve made a form app that send data to my mysql server. All is good but I have a question: what should I use if my app doesn\'t have internet..the user enters the data and
BroadcastReceiver
in your android applicationWhen your user submits some data and press submit then check for the internet connection of the device.If internet is not available then store the data in the local database or shared preferences(if data is small). Now when internet will be available,your broadcast receiver will be called and will check the data in the local database.If present ,it will have to send that data as you used to do already.