Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: LogLady on June 04, 2016, 08:23:59 PM

Title: Run in background
Post by: LogLady on June 04, 2016, 08:23:59 PM
Hi!

I googled about running an Unity application on background but it seems that it is not possible or is possible creating an overlay to run the app as a service.

But would it be possible to do using Playmaker? I'd like my application to access the accelerometer while in background but I have no idea how to do it.

Any help is appreciated.

Cheers!
Title: Re: Run in background
Post by: PlaymakerNOOB on June 04, 2016, 09:01:29 PM
Nothing within playmaker will make it happen by default.

It seems like its at least possible, using Live Wallpaper as an example.  While not exactly the same as your asking... its showing that Unity can do stuff outside being the "current open application"
https://www.assetstore.unity3d.com/en/#!/content/52110
Title: Re: Run in background
Post by: LogLady on June 05, 2016, 09:23:47 AM
Maybe it is running as a service in background. I'd love to take a look at this. Thanks for the reply!