Hi All,
I have installed "NexusHD2-ICS-CM9-HWA v2.5) on HTC HD2. Then I wrote an
Application on this machine to open USB as host.
private UsbManager mManager;
...
mManager = (UsbManager)getSystemService(Context.USB_SERVICE);
if( mManager != null )
{
log("Get USB service");
if( mManager.getDeviceList().values().size() > 0 )
{
log("Has more than one device");
}
else
{
log("No device in list");
}
}
else
log("No USB service");
The result is always "No USB service". Could any one give me tips to solve
this problem?
Thanks a lot!!
Pogo
--
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