Android Question App Running in Background even after Home button is pressed

Erind Jushaj

Member
Licensed User
Hi Guys,

I have written an code where a certain httpjob is called every 10second and sone JSON data is downloaded and further processed in EditTexts. Now I noticed that when I press the home button, the entire app is paused. I would like that my entire code keeps running in the background, even after the Home button is pressed.

Is this possible? I want my app to keep running, even if I have for example activated another app in my frontscreen..

Many thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…