On Fri, Jul 8, 2011 at 6:54 AM, Ellen <[email protected]> wrote:

> Hi,
>
> When a device connect to a PC through USB, how Android could get this
> envent whatever the connection mode is?
>
> I searched a flag "Usb.ACTION_USB_STATE", but it seems my application
> couldn't identify it. (SDK 2.2 API level 8).
>
>
Isn't this only available in API level 9 and above?  If so you'll have to
run on those.

Kris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to