Execute in background


#1

How can I do to keep the app running in the background?

I need that while not closing the app, even if you are using another, keep running (as WHATSAPP does)


#2

I haven’t tried any of these myself, but there are a bunch of plugins for this:

http://cordova.apache.org/plugins/?q=background


#3

I do not understand how to install the plugin to generate the apk from NSB Studio.
I put the command:

cordova.plugins.backgroundMode.setEnabled(True)

Compile well but fails to run on an Android phone


#4

This tech note shows how to add plugins to your project:

http://wiki.nsbasic.com/Using_the_PhoneGap_API


#5

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.