Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - AVD - USB Host Support - no devices found

AVD - USB Host Support - no devices found

Put your problem here if it does not fit any of the other categories.

AVD - USB Host Support - no devices found

Postby harnz » Mon Oct 24, 2011 10:49 pm

Hello,

I am interested in developing an application which uses the USB host mode.
Unfortunately I don't have a 3.1+ Android yet, hence I am restricted to AVD in order to simulate my application.

I am curious whether AVD is able to simulate a USB host application at all, because it does not seem to detect the USB devices connected to my computer (I am running OS 10.6).

Here is a snippet of my code:

Code: Select all
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
HashMap<String, UsbDevice> deviceList = manager.getDeviceList();
if(deviceList.size()==0)
        myView.setText("NO USB DEVICE FOUND!");


What am I doing wrong?

Thank you.

Best,
Harnz
harnz
Freshman
Freshman
 
Posts: 4
Joined: Mon Oct 24, 2011 10:39 pm

Top

Re: AVD - USB Host Support - no devices found

Postby harnz » Thu Oct 27, 2011 8:38 pm

hm, still no answer... so I guess it's not possible?!?
harnz
Freshman
Freshman
 
Posts: 4
Joined: Mon Oct 24, 2011 10:39 pm

Re: AVD - USB Host Support - no devices found

Postby Podachka » Mon Nov 11, 2013 5:52 pm

Nice post. Keep posting such needed information. Thank's!
Podachka
Junior Developer
Junior Developer
 
Posts: 16
Joined: Mon Nov 11, 2013 5:37 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests