Thanks for attending XAM210 today! That was a fun class!
Here are the questions:
Q: Are there time limits for handling those delegates?
A: Yes. Something between 5 and 15 seconds depending on the method.
Q: so we're limited to the APIs you mentiond? Can we bg our own routines, such as a sync routine?
A: No you can’t. Unless you can do it with the 3 minutes given to you.
Q: and you can't restart that after the 3-10 minutes?
A: Yes you can. Every time you come back to the app you have 3 more minutes.
Q:Is there a background service as in Windows Phone - it can run for about 2 weeks before needing an app re-launch?
A: No there isn’t. Android has the concept of services however, but not iOS.
Q: can I use the location callback to do whatever I want?
A: You probably can but Apple might reject your app.
Q: Is there any advantage to use nsthread instead of .Net Task?
A: Not to my knowledge.
Q: (Android) If I want my app to receive push notification messages, does it need to have a service running at all times?
Q: If I call StartService twice, will it actually try and start the service twice? ie: call OnStartCommand twice?
A: Yes it does.
Q: would you cancel the task in OnDestroy?