Is it possible to make the game run in background on android?

Hello guys,

Is it possible to make the game run in background on android?
for example: when i open the game, my score are “0” iam start a mission and every hour i will get score “100”, but when phone turn off, score still runing 100 point per hours

i try it, but when i goes back to game, score restars to zero,

Thanks for helping me.

You can try to get time from google, and then compare it to the time that were saved before, that way it won’t even need to run. ps: No clue how to get the time from google tough, but this should work.