Service is closing with the application

DukDuk BRMember

Hello, the service of my application closes when I'm closing my application. For example, applications such as FaceBook, WhatsApp I do not need to be with these open applications to receive messages.
How can I configure my class SERVICE not to stop when I close my application?

Posts

  • CheesebaronCheesebaron DKInsider, University mod

    Are you using an actual Service?

    More info on Android and services here: http://docs.xamarin.com/guides/android/application_fundamentals/services/

  • DukDuk BRMember

    Yes, it is this same SERVICE I implemented in my application, but when I close the application to the SERVICE, how can I leave SERVICE working even after the application closed? Is there any property in which I SERVICE SERVICE not change even after the application closed?

  • CheesebaronCheesebaron DKInsider, University mod

    And you have started the Service?

  • DukDuk BRMember

    Yes, when I turn my application, the service works, but when I close my application also closes the SERVICE.

    In the case of Facebook for example, I run the application Facebook, the message SERVICE works, but even when I leave the facebook application, I'm still getting messages.

  • CheesebaronCheesebaron DKInsider, University mod
    edited April 2014

    Yes, when I turn my application, the service works

    So how are you starting it?

    Are you binding it?

  • fdutra22fdutra22 BRMember ✭✭

    same problem here. anyone know about this

Sign In or Register to comment.