I was curious if anyone that has iOS 4+ programming experience could clarify
something for me about the app background and suspension features that simulate multitasking. I've been digging around the iOS developer site reading
documentation, and most questions I had have been answered, but one specific in particular has not.
Theoretically, I want an app that runs in the background collecting data about
other processes running on the iPhone, and sends that data to an online server. I know that some sockets can be kept open when a program moves from the foreground such as audio, location, etc. One special exception is tasks that run for a finite amount of time such as a large download.
So, could it be possible to notify the data collecting app when the processes
have changed and wake it up long enough to send the data to the server, even
though it is in the background? Similar to the battery saving location features
that only send data to the backgrounded app when the users location has changed significantly. Could that keep it active enough to ensure that the app wouldn't be suspended and terminated when digging around for resources?
something for me about the app background and suspension features that simulate multitasking. I've been digging around the iOS developer site reading
documentation, and most questions I had have been answered, but one specific in particular has not.
Theoretically, I want an app that runs in the background collecting data about
other processes running on the iPhone, and sends that data to an online server. I know that some sockets can be kept open when a program moves from the foreground such as audio, location, etc. One special exception is tasks that run for a finite amount of time such as a large download.
So, could it be possible to notify the data collecting app when the processes
have changed and wake it up long enough to send the data to the server, even
though it is in the background? Similar to the battery saving location features
that only send data to the backgrounded app when the users location has changed significantly. Could that keep it active enough to ensure that the app wouldn't be suspended and terminated when digging around for resources?