Blog Archives

Android Udev Rules

Linux Udev rule file to interface Android Hardware for Application/System development. # Acer 0502 SUBSYSTEM==”usb”, ATTR{idVendor}==”0502″, MODE=”0666″, GROUP=”plugdev” # ASUS 0b05 SUBSYSTEM==”usb”, ATTR{idVendor}==”0b05″, MODE=”0666″, GROUP=”plugdev” # Dell 413c SUBSYSTEM==”usb”, ATTR{idVendor}==”413c”, MODE=”0666″, GROUP=”plugdev” # Foxconn 0489 SUBSYSTEM==”usb”, ATTR{idVendor}==”0489″, MODE=”0666″, GROUP=”plugdev” #

Tagged with: , ,
Posted in Uncategorized

Android Layer Interaction: Application to Kernel

Like any other OS platform, Android also designed in layered approach. Theoretically explaining the software layer interaction is bit difficult. So let me share my understanding, with an simple Vibrator application example. In this, we will see th…

Tagged with: ,
Posted in Uncategorized

SEAndroid – DAC and MAC

NSA is working on bring the SELinux feature to Android platform. Even though the Android uses Linux kernel, the Android specific kernel enhancements and how the Android user space organized, the SELinux features cannot directly useable in Android….

Tagged with: ,
Posted in Uncategorized

ADB Over Network

By default, ADB is connected over the USB. To make ADB connection over network, user need to do few setting on target device: stop adbd setprop service.adb.tcp.port 6665 start adbd Now the ADB will start listen on network interface. Next using the…

Tagged with:
Posted in Uncategorized

Android Reunite with Linux Kernel

Nearly after 2 yrs, the core Android related Kernel codes are again going into the Linux Kernel Source. Here is the statement from Linux developer Greg Kroah-Hartman to Wired Magazine. Link: http://www.wired.com/wiredenterprise/2012/03/android-linux/

Tagged with: ,
Posted in Uncategorized

Resistive Touch Screen Interface

I did few touchscreen integrations and like to share some of basic understanding: Resistive Touch Screen (RTS) is a low cost and easy to integrate solution of touch panels. RTS is available in with 4/5/8 wires interface. From the operation perspec…

Tagged with: , , ,
Posted in Uncategorized

Android Socket Communication thru ADB

I hope, most of the Android Developer know about ADB (Android Debugging Bridge) Tool. It is very handy to make a quick connection to target (Emulator or Device) for debugging and has no of useful options (shell, install, push, pull, forward, etc ….

Tagged with:
Posted in Uncategorized

Android KeyEvent Sequence

Just in case, if your device touch screen failed, here few key sequences: input keyevent 82 — Menu (also help to unlock the screen) input keyevent 4 — Back input keyevent 19/20/21/22 — Movement (Left/Right/Up/Down) input keyevent 66 — Select/E…

Tagged with:
Posted in Uncategorized

Myth and Reality: Android Scheduling

One more nice write-up from Dianne Hackborn about the Scheduling of task in Android System.

Tagged with:
Posted in Uncategorized

Myth and Reality: Android Graphics System

Recently Android Core Developer Dianne Hackborn explained about some of myth and reality of the GPU usage in Android Graphics System. I also in the assumption that, GPU is the only way to increase the rendering speed. But this explanation shows, t…

Tagged with:
Posted in Uncategorized