- Home /
Application.runInBackground for android?
I need to create an application that sends the location when it is minimized on a android device. What I need is a "Application.runInBackground" on android devices as this only works in Web and PC.
If anyone can help me I would greatly appreciate. Similarly if I find the answer before I publish.
Thanks for reading this post.
Answer by glassfin · Aug 08, 2016 at 02:38 PM
export from unity to android project. find the activity java file in the project. comment out the unityplayer pause calling in onPause();
compile. boom. it works.
Your answer
![](https://koobas.hobune.stream/wayback/20220613201149im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
mobile phone getting lock if we not touched screen. 3 Answers
Run game on Background on Android and/or iOS 1 Answer
How to make looped background?(Character enters left side and appears from right) 2 Answers
Choose random background at start 1 Answer
How to get Updated Context in Unity3D Android when app is open from Backgroung? 1 Answer