Run Android phonegap application in background

ramesh picture ramesh · Sep 1, 2012 · Viewed 8.7k times · Source

I am developing an android application in Phonegap, cordova.. I had a button in the application, while clicking in that I need to run the application in the background and

need to call a web service at the interval of 15 mins.

Is it possible in phone gap, cordova proj...

I am new to this..Please help

Answer

Apostolos Emmanouilidis picture Apostolos Emmanouilidis · Sep 1, 2012

You will have to create a custom plugin in order to run processes in the background. You can find a plugin implementation here.