[android-developers] Read directly from external HID connected via USB OTG

2014-12-19 Thread SouthAustin
We have a USB barcode scanner that emulates a HID that we've connected to an Android 4.0.3 Generic/No name tablet via USB OTG . We've verified that the tablet does receive scans. Now we have to write our own app to handle the scans and we were wondering how the app would read the input from

[android-developers] Enhance Camera preview SDK sample to capture a subset of preview area

2011-08-16 Thread SouthAustin
Newbie question. I've looked at the CameraPreview sample and would like to enhance it to include a rectangular area with handles at the corners to allow me to select only a subset of the Camera Preview so the user can focus on a particular area with a combination of moving the camera and resizing