Hi,
Am about to start looking at integrating to the P25i Bluetooth printer, and
just wondered about best practices especially around sessions and battery use.
Basically, I guess once you pair the printer to the device, it consumes battery
with the Bluetooth being turned on etc. Does opening a session make this worse?
Or should a session be opened and closed just as needed?
As much as possible I need to know at all times if the printer is there, so
also wondered how to translate these:
//add notification for accessory
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_accessoryDidConnect:)
name:EAAccessoryDidConnectNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_accessoryDidDisconnect:)
name:EAAccessoryDidDisconnectNotification object:nil];
Dino
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch