Sorry if this has been answered before, but I did search the forum to try find something like this.
I created a Codename One feature phone app. Every time you start the app it calls (http post) our server API to retrieve messages.
The messages it retrieves will be displayed as a list on the MessagesContainer which is part of the MainForm.
I have successfully added a background task that runs every minute to call the server to retrieve messages again - this all happens when you are inside the application.
My question is:
Is it possible to have a background task running even when the Codename One application is not open? So I want to call the server API to retrieve messages even
when the application is not running.