Hi my app will do wifi scan and send the data (using JSON Array) to splunk server(web server) periodically, now at the time of wifi disconnection I cant send, so I am planning to store the scan result using SQLite database and automatically send them to server when it reconnect to the wifi network. Kindly help me how to do that.
FYI: when the user is disconnected the app will scan and store data for every 1 min and when reconnect it should send automatically the stored data to the server.
I can start the scan when disconnection happens but dont know how to store the data in JSON format in SQLite and send them automatically to server without getting request form the server.
Thanks in Advance
FYI: when the user is disconnected the app will scan and store data for every 1 min and when reconnect it should send automatically the stored data to the server.
I can start the scan when disconnection happens but dont know how to store the data in JSON format in SQLite and send them automatically to server without getting request form the server.
Thanks in Advance