1. Download our Official Android App: Forums for Android!

Apps Service will alive if a app is ended ?

Discussion in 'Android Development' started by Bee Torika, May 17, 2016.

  1. Bee Torika

    Bee Torika Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    35
    Joined:
    Nov 12, 2015

    Nov 12, 2015
    35
    2
    26
    Hi !

    if I start service by Context#startService , will it be independent so the service will be alive even if app is ended ???

    I wonder how some apps get msg even if I do not start the app.
    Is it 'push service' or 'service is alived and received a msg' ?

    if service can be alived, why do we uses 'push service' ?

    Thanks :D

     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,275
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,275
    10,371
    1,988
    Male
    Software developer
    South West of England
    Bee Torika likes this.
  3. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,275
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,275
    10,371
    1,988
    Male
    Software developer
    South West of England
    Bee Torika and lunatic59 like this.
  4. Bee Torika

    Bee Torika Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    35
    Joined:
    Nov 12, 2015

    Nov 12, 2015
    35
    2
    26
    Thank you so much :D
    This is so helpful ... your level is really 426
     

Share This Page

Loading...