• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps solved - Key detection.

robhol

Lurker
[Java] package net.robhol.droid; import android.app.Activity; import android.app.Al - Pastebin.com

I tried to debug this on my phone. I've spent HOURS (very literally) just to get the freaking key detection on, with absolutely no success, and it's starting to get to me, frankly, and I'm developing a nasty combination of a headache and a few terajoules of rage.

What I originally wanted to do is detect the camera button, but nothing works. My phone is a Desire Z with a full keyboard, if it matters. I guess it shouldn't.

When any button is pressed, absolutely nothing happens, and I don't see why it shouldn't. I'd be very grateful if anyone could shed some light on this and prevent me from going on a rampage... :p

Log shows nothing important, just:
03-07 16:36:18.081: ERROR/LED_CAPS(1298): open failed errno: 2
03-07 16:36:18.081: ERROR/LED_CAPS(1298): open failed errno: 2
which I've googled and not found crap. No idea what it means, because descriptive messages of any kind is apparently a huge taboo.
 
Back
Top Bottom