Re: iPhone: detect if docked?
Re: iPhone: detect if docked?
- Subject: Re: iPhone: detect if docked?
- From: David Duncan <email@hidden>
- Date: Sun, 16 Aug 2009 21:33:28 -0700
More than likely yes. But I'm not certain you can use the EA framework
to detect such a situation anyway (if someone knows for certain I'm
happy to be wrong here). And in absence of further data as to the
nature of the power source, it would be difficult for a developer to
recognize this situation.
Caveat implementor.
On Aug 15, 2009, at 2:19 PM, Jack Carbaugh wrote:
ah but wouldn't this be a FAIL if say, the user was using a battery
extender for a quick recharge ?
On Aug 15, 2009, at 3:40 AM, David Duncan wrote:
On Aug 14, 2009, at 4:29 AM, Sean Kline wrote:
Is another option to use the External Accessory framework?
I don't think so. A simple charger may not appear as any kind of
accessory at all (consider the wall-outlet charger) so EA wouldn't
track it. If you want to know if the device is on external power
(which in this particular case would likely be a false positive on
one of those external battery packs) then you want to know if the
battery status is "charging".
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden