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

Apps Android services and Start it on boot up

Discussion in 'Android Development' started by satellitemundo, Jun 3, 2011.

  1. satellitemundo

    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    29
    Joined:
    Aug 18, 2010

    Aug 18, 2010
    29
    0
    15
    Hi guys,

    I am using services in android app.Services gets stopped when we switch off the device. We can start it using boot time start up broadcast receiver. That I know.
    I want service to be designed in such a way that its cycle should not get stopped once it is started. I am using alarm manager to start the services and Alarm Manager gives repeatable call to services fro every one day.

    In simple words.. If I have set repeat time 2 days. It should call service after tow day only, no matter how much time I switch off my device.

    You can ask for more details. I ll provide code snippet too.

    Please help.I will be thankful to you.
     

    Advertisement

Share This Page

Loading...