On 10 May 2014 18:23, Botao Sun <botao.sun@linaro.org> wrote:
Hi Vishal,

A question about USB mass storage feature on Linaro Android images. I would say there are 2 different ways:

1. Using Android device as a host: In this way, by plugging in a USB mass storage device, a USB stick for example, there should be a pop-up window shows up on screen to say a USB mass storage device has been plugged in, similar as you do it on your PC. The current status is after plugged in the USB stick, some manual procedures need to be done to access the device, as indicated in test case USB Host (https://wiki.linaro.org/Platform/QA/TestCases/Android#USB_Host), and no any UI notification shows.

My question here is that is this an expected behaviour?
There is no UI notification support for USB_HOST support.

2. Using Android device as a client: In this way, by plugging it to a host PC, there should be a notification shows on screen to let user to choose among different options, USB mass storage is one of them. I remember we now only has the ADB debug notification (If USB debugging is enabled in developer options), USB mass storage option never shows. We already have a bug there: https://bugs.launchpad.net/linaro-android/+bug/897549

My question here is do we support this feature?
 This is platform specific support. We generally enable usb adb support. MTP can also be enabled though. Option to choose one these different functions is generally available in settings app.
 
Thanks.


Best Regards
Botao Sun