The conventional way to use an Android tablet or smartphone is as a USB peripheral that connects to a USB host (e.g. PC) and synchronizes its data and media files. However an Android device can also behave as a USB host since the API level 12 (Android 3.1). With this feature, you can for example connect and use a USB mouse, keyboard or memory stick…
Read MoreThis is a high-level technical summary about everything (mostly) related to how the USB bus powers the peripheral devices connected to it. We wrote it at first for internal reference, but then noticed it could be of help to our readers. Enjoy! USB in brief At the time of this writing (september 2015), there are 4 remarkable versions of the USB stan…
Read MoreIt always starts with a prototype... Some days ago, while crafting a quick prototype on top of an Arduino Leonardo board, we noticed that the USB HID emulation part of the core (Arduino) libraries was always enabled. In short, the above means that: Whether you need to use the USD HID emulation or not, the related code is always compiled and "active…
Read MoreIn a previous post we described the capabilities of the Android SDK and Android Debug Bridge (adb) to generate user interaction events to debug and test the UI of an App. There are many other gems hidden inside Android that can be accessed through adb. Today we are looking into screenrecord, an application that lets you record a video of the device…
Read MoreWe are working right now at BLECentral on a mobile project that requires user interaction with a mouse. Connecting a mouse to Android is straightforward thanks to the support of USB On The Go. You just need to connect a conventional mouse with a USB OTG cable to the USB port of your Android device and the mouse starts working without installing an…
Read More