Hi Cyborg, er Matthew! :) On Feb 14, 4:16 pm, iAmACyborg <[email protected]> wrote: > Hi, > > I'm killing myself here, any help would be appreciated.
Let's not go to extremes, shall we? ;) > Is there any way to poll the state of a given hardware key? I'm not > talking about using an event. >From what environment? If you're wanting your program to run at the lower levels, as in an ELF program running from a shell, for example, or as a daemon, you can use the syscalls "sys_newselect" and "sys_read" to keep an eye on STDIN. (Personally, I would do this in ARM assembler.) If you want to do it at higher levels of the API (i.e. Java / Dalvik) then as Dianne wrote, you're likely out of luck. In other words, we need to know more about what you want to do and how you intend on doing it in order to answer your rather terse question. - Bill P.S. Please don't kill yourself over this! ;) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

