Keeping CoreBluetooth Apps Backgrounded
Keeping CoreBluetooth Apps Backgrounded
- Subject: Keeping CoreBluetooth Apps Backgrounded
- From: FMC LE <email@hidden>
- Date: Wed, 20 Jun 2012 02:05:06 -0700
Brian/Joakim,
Fantastic WWDC CoreBluetooth talks! I learned a lot about the new peripheral manager.
In your talks you mentioned backgrounded apps multiple times and for CoreBluetooth to "Connect the World" the ability to interact with peripherals via backgrounded app is fundamentally required. I'm positive that you also agree with this since you have put so much effort into enabling backgrounded operations.
We developed one of the first CoreBluetooth applications for iOS, Find My Car Smarter. We have a BTLE peripheral that goes in your car and when you park the BTLE peripheral gets powered down and our app gets a didDisconnectPeripheral callback. On this callback, we momentarily fire up the GPS on the phone and mark your parking location for easy navigation back to your car later.
The whole concept is to make the process of pinning your car's location automatic and seamless. This of course requires backgrounded operation. The issue that has plagued us ever since CoreBluetooth was introduced, is that backgrounded apps do not stay resident in memory. iOS will kill a backgrounded app whenever a foreground app needs memory. In a mobile OSes, this is a fact of life due to scarce memory constraints and the high performance being demanded. However, we would expect a feature to relaunch an app on a Bluetooth connection/disconnection event, similar to how Significant Location Monitoring re-launches an application. We were very much hoping that this feature would be in iOS 6.0, but we have not found any mechanism for Bluetooth app re-launch.
Could you please confirm our understanding of Bluetooth app re-launch and hopefully comment on the future of app re-launch? There are many developers like us that are being stymied by this limitation and it results in making concepts unworkable or products that are severely crippled and user disatisfaction since we have to hack and kludge our way this restriction.
Anyways keep up the good work! We're all extremely excited about CoreBluetooth and it's potential.
Best Regards,
FMC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden