Forum Xamarin Xamarin.Android

Service in Background. - Servicio en Segundo Plano.

ErikOrtizErikOrtiz USMember
edited November 2016 in Xamarin.Android

How to make a android service report your location each five seconds in background, even if app are in background. this service has to be in execution the 24 hrs (thet is to say for long time);

Como hacer que un servicio reporte la ubicacion cada cinco segundos en segundo plano inclusive si el app esta minimizada, este servicio debera estar las 24 horas en funcionamiento y por mucho tiempo.

Posts

  • ChristopheBERNARDChristopheBERNARD BEMember ✭✭✭✭✭

    Hello @ErikOrtiz

    you need to realize a broadcast who will be lauch every 5 second
    when this broadcast runs send the location where you want ...

    there are some sample on google where it's explain how to make a broadcast ...

    have a nice coding day

  • ErikOrtizErikOrtiz USMember

    Thank You Very Match, i will try.

Sign In or Register to comment.