How to make a process continue running in background in phonegap android -


i want create app in uploading data server. sense uploading data server not necessary when user in moving connection not constant time while uploading data connection may lost. want if connection lost should run in background serach connection connection available start sending data server. can 1 tell me how this. there way find strength of signal of both wifi , mobile internet. idea appreciated. in advance.

using setinterval method, wrap network connection state function(using phonegap api) inside it. trigger specific time interval. once connection establish, upload data server


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -