Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Service Unity running at Background

Discussion in 'Android' started by javicloud, May 25, 2015.

?

Android Service on background

  1. service android

    2 vote(s)
    100.0%
  2. jar on unity

    0 vote(s)
    0.0%
  1. javicloud

    javicloud

    Joined:
    Jun 19, 2014
    Posts:
    1
    Hello,

    i am making a game where i need a pedometer running on the background, the problem is that on unity is impossible, now i want to try by making a service on native android and attach to my unity app.

    The question is, is it possible to create a service and keep it running on the background when the game is not on focus? i mean the game can be stopped or minimized but the servcie can continue running?

    Thank you so much, i need a game tha count steps. If you know how can i do this i really really appreciate it!
     
  2. Xirion11

    Xirion11

    Joined:
    Feb 7, 2014
    Posts:
    9
    I would also like to have an answer to this question.