auto start an application when iphone is switched on

Discussion in 'iOS Programming' started by gowdalokeshs, Nov 4, 2010.

  1. gowdalokeshs macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
    #1
    Hi,

    I'm using iPhone 4, and I want my iPhone application to automatically launch as soon as i switch on the device...
     
  2. fishkorp macrumors 68020

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #2
    You can't do that.

    GPS or VoIP apps can start a background process on launch. That's it.
     
  3. gowdalokeshs thread starter macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
  4. gowdalokeshs thread starter macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
    #4
    application auto start when the iOS device is switched on!

    Hi,

    I am developing one application, where i want to launch the application when the iPhone 4 is switched ON. i.e. , my app would be running all the time even if the device is restarted. Is this possible.... ?
     
  5. RoboCop001 macrumors 65816

    Joined:
    Oct 4, 2005
    Location:
    Toronto, Canada
    #5
    I don't know about jailbreaking, but it may be possible on jailbroken devices.

    Otherwise, Apple would need to add the option to launch apps when you boot the device. :)
     
  6. gowdalokeshs thread starter macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
    #6
    GPS Apps

    Hi,

    I wanted to know the feature of GPS app.
    Does the GPS app launches at iPhone startup. ?
     
  7. andrei.barbuta macrumors regular

    Joined:
    Jul 26, 2009
    Location:
    Romania
    #7
    What GPS App? Are you referring to the Maps App?
     
  8. TruckdriverSean macrumors 6502a

    Joined:
    Feb 28, 2009
    Location:
    Texas, US
    #8
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)

    The maps app (using Google Maps) is a streaming app (you need a data connection to see maps) launched when you touch the icon. It does not launch automatically.

    It uses assisted-GPS (cell tower triangulation) for quickly figuring out your location (within a few hundred meters) then uses satellite GPS (after 30-45 seconds) to get your exact location (within a few meters)

    What other features are you specifically wanting to know more about?
     
  9. gowdalokeshs thread starter macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
    #9
    I want my iPhone application to automatically launch as iPhone is switched ON... any way I can do this?
    Because as soon as i start up the iPhone device, the app should be launched with the last exit status.
     
  10. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #10
    No.
     
  11. c356040 macrumors newbie

    Joined:
    Dec 16, 2010
    #11
    Could fishkorp shine some light on how to start a background process on launch? And what do you mean with launch, device start?
     
  12. zachsilvey macrumors 6502

    Joined:
    Feb 5, 2008
    Location:
    Battle Ground
    #12
    He mean when the app is launched.

    There is no way to schedule an app or process to start on boot.

    And thank god for that, the iPhone would be so slow because everyone would try to take advantage of it.
     
  13. gowdalokeshs thread starter macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
  14. c356040 macrumors newbie

    Joined:
    Dec 16, 2010
    #14
    I personally don't thank Apple for restricting boot starting apps only to their own Telephone application, as I use my iPhone as a small iPad: with a data only sim (USIM) on which you can't establish nor receive any voice calls.

    On the other hand this isn't such a big deal (only awkward) as turning the phone off and on, using the swipe action, keeps all apps running as were running before the phone was turned off.

    Only in the case of a hard reboot, this boot starting apps inconvenience is kicking in.
     
  15. furrybaer macrumors newbie

    Joined:
    Sep 8, 2011
    #15
    Your mail/calendar app autostarts I believe...

    I get calendar alerts without starting my mail/calendar. I think it probably could be done. Just not sure how. I need to figure it out for an alert app for monitoring Server Statuses for our IT department...

    thanks

    mark
     
  16. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #16
    Google push notifications
     

Share This Page