03-30-2014 07:54 AM
I am working on an application that needs to perform tasks in the background. From what I have understood with Cascades I have two options: use a headless application or make the app invisible (run_when_backgrounded). Now I would like to ask which solution is better for me depending on:
Solved! Go to Solution.
03-30-2014 11:10 AM
03-30-2014 11:32 AM
04-01-2014 10:33 AM
The run_when_backgrounded permisison just means that the app can still run if the user minimizes the app or switches to another (instead of just freezing). It gets deprioritized, but you don't lose access to RAM. The user can close it at any time, as can the OS if it decides it's running low on memory.
So if you need it to be running, headless is the way to go, though because it does get to run in the background, there are memory limits and you don't get a lot of processing time.