Hello everyone, I am new to titanium. I have develop an app that can working offline.For that i want to check Whether Internet Connection is available or not? on every 15 seconds.And also i want this process to Runing in background via background services.Is it possible? Please help me for this.
You could also check it on a timer using the setInterval() function... http://www.w3schools.com/jsref/met_win_setinterval.asp
A little search goes a long way http://developer.appcelerator.com/question/48091/checking-for-network-connectivity
Thanks Raul but actually i want to run this code for neteork connection in backround on every 15 seconds.Is it possible?
Thank you very much Matthews it is working completely fine and as per my requirement.
Think you can help? Login to answer this question!