Android Question Without taxing the phone resources determine when Internet Connection is Available

JonRubin

Member
Licensed User
Longtime User
We are developing an app that stores data on a Server. The problem we face is that when there is no connectivity to the Server. When there is no connection, we will temporary store the data on the phone and then while running in the background determine when a connection exists and then upload the data. My question is, what is the best way to determine when a connection is available without chewing up the phones resources e.g. battery, data usage etc. Thanks Jon
 
Top