how to listen for android hardware events

I have a custom android application deployed in an android powered device. Now my client wants me to make adjustments so that if I take a software update in my usb , and insert in the device , the software would automatically get updated.

I made a secondary app , which I intend to use as USB port listener , and would carry on my work from there.

Is this all even possible. ? I am just 2 weeks old or so in android.

Thanks.

Answers


the software would automatically get updated.

You have no control on Firmware of device until and unless you are on Root firmware or on you own firmware


Need Your Help

Linux kernel driver same device on different buses?

linux linux-kernel linux-device-driver

Is there an example of same device using different buses, for example spi and i2c (simultaneously, depending on the choice)?

Is Maven 1.0.2 compatible with Java 5?

java compatibility maven

I'm working on an upgrade project and build management is done in Maven 1.0.2. Java version will change to J2SE 5.