Question

I'm kind of new in android AOSP development, and I'm trying to click to the trackball and launch an app already installed (Camera App).

I'm looking at the policy.androdoid, but i just doesn't understand how to gain controls of the hardware buttons and where to start.

Any help, source code example or something like that will be really helpful.

Thanks in advance!

Was it helpful?

Solution

Not sure I completely understand your question but try looking here http://developer.android.com/guide/topics/ui/ui-events.html

As for the starting camera using Intent look at the example here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top