This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes iOS and the fly likes iPhone In Action: sleep issues, what happens when... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » iOS
Bookmark "iPhone In Action: sleep issues, what happens when..." Watch "iPhone In Action: sleep issues, what happens when..." New topic
Author

iPhone In Action: sleep issues, what happens when...

Fred Muhlenberg
Ranch Hand

Joined: Jan 08, 2008
Posts: 39
What happens to your running app when the iPad/iPhone is turned off or suspended in the background such as when the phone rings?
Are there special considerations for the app to continue from where it left off?

-Fred
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
check this out


Visit my blog: http://jnassef.blogspot.com/
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi Fred,

If your app is developed with iOS 4.0 then and you will get notification when your application switched to background mode.

In 3.0 or if you are getting such interruption your application will be in suspend mode. Once your interruption gets finish your app will be relaunched from previous state.
Apple has well formatted document here.

Thanks
Pratik Goswami


iOS * Android Developer
 
Don't get me started about those stupid light bulbs.
 
subject: iPhone In Action: sleep issues, what happens when...
 
Similar Threads
Requirments needs for iPad
RMI Server
Your mobile , your style
Road MAP from Iphone development learning to post at App store?
sending a file