- Home /
Question by
GreatTed · Apr 05, 2018 at 10:11 AM ·
androidwwwserviceonapplicationpauseonapplicationquit
How to run Android service behind UnityPlayerActivity?
Hello, I 'm making SDK for Unity3D.
I want to run android service behind unityplayer activity.
but i don't know how.
I have been created android service plugin for unity3d.
(Introduce about Service,
It's www network service using Restful api.
When Calling OnApplicationPause callback on Unity3d,
I send some string message to android service.
Then android service transmit message to server with Restful api protocol.)
And i called that service.
But it was not working.
So, I have some question.
Can i running Android service behind UnityPlayerActivity?
How to transmit message to server when call OnApplicationPause or OnApplicationQuit.
Please help.
Thank you.
Comment