Hi Robert, I was about to respond to your support case, too - Bryan asked for a bit of help with it. As I've been travelling, I've not been as active on the lists as normal - sorry about that.
I have a iPod Touch 2nd Gen at home (I'm in Boston at the moment, I live in London), as it's my base device for my apps. It's basically an iPhone 3G, with a bit less memory (128 vrs 256? Not 100% sure. It's SLOW tho). I have always assumed (and confirmed) that it does not support multitasking. You can check this by: UIDevice.CurrentDevice.IsMultitaskingSupported False means that it will terminate your app when you hit the home button. I can't confirm it here, but based on my own testing in the past, it will return false, always. This is the same behaviour as an iPhone 3G. If you hit the home button, it should fire the WillTerminate AppDelegate method, and then kill the app. At that point, you need to save your state (if you want to restore state when you start up again), and restore it in FinishedLaunching. This is what the likes of Twitter does - they store where you are in the UI, and restore it all to that when you come back. If you want, I can double check when I get back with both a MT app and also a ObjC one, but based on my experience, neither will allow the app (or any user app) to run in the background. This old engadget article has a full list: http://www.engadget.com/2010/06/21/iphone-3g-ios-4-and-you-whats-missing-spoiler-multitaski/4 The only way to enable user-app multitasking on a 3G/iPodTouch2ndGen is to jailbreak. hope that helps Nic On Thu, Aug 2, 2012 at 10:53 AM, Miguel de Icaza <[email protected]> wrote: > >> OK, always been a xamarin fan. However, perhaps their support has changed >> because in response to this problem, I got a "a web search doesn't produce >> much, perhaps we could look at your code". Umm, web search? >> >> Stock Monotouch, create an iphone project (single view), push to ipod gen2 >> physical device, run it, hit home button, go back to app - it terminates >> on >> suspend, always. This is a deal breaker for me. I could have simply ran >> this in the simulator, felt secure that it worked and published it - but >> now >> xamarin has someone who is actually testing on physical gen2 devices >> running >> 4.2.1 reporting an issue and all I get is a "Web search" and dismissive >> reply? >> >> Not going to gripe too much here, but wow, come on guys. > > > I looked up the support thread and it is a case of your hardware not having > support for background operations. Perhaps they emailed you this > information after you posted to the mailing list. > > From Wikipedia: > > "The 2nd and 3rd generation iPod Touch can be updated to iOS 4.x for free, > but cannot take advantage of features using the iPhone's camera or GPS > receiver. The 2nd generation iPod Touch is further unable to take advantage > of iOS 4's multitasking and home screen background customization features, > unless the firmware is modified (through jailbreaking), and cannot be > upgraded beyond iOS version 4.2.1. Later updates of iOS beyond 4.2.1 are no > longer supported due to the outdated hardware. The iPod Touch (2nd > generation) is model A1288." > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
