You can do whatever you want, just ensure that the corresponding button
press doesn't send the wrong scancode from the kernel in your driver.
Of course, you may need to hack the framework to recognize these new buttons
to launch interesting intents too.

On Sat, May 30, 2009 at 12:56 PM, Iulian <[email protected]> wrote:

>
> I want to know if you can apply, assign, other function to the
> hardware buttons:
> - Hang phone
> - Answer phone
> or
> - Up volume
> - Down volume
> I'm thinking of using android not in a mobile phone device, so I don't
> need those hardware buttons to do what they are doing for the mopbile
> phone enviroment, but I need them to be hardware buttons with another
> function - let's say: hardware button: Settings - presing it will show
> up Settings menu for the android system, or Weather, or Search, or
> Browsing anything but Hang, Answer phone or Up and Down the volume.
> In other words: could I make custom hardware buttons for Android?
>
> Thank you.
>
> Iulian
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to