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.
4 Answers
Accepted Answer
http://developer.appcelerator.com/question/8861/detect-internet-connection-in-appjs
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.
Your Answer
Think you can help? Login to answer this question!