L
lberridge
Hi all.
I've been trying to find a list that describes the vendor-specific results
for getKeyName() for each key on Java-enabled phones. For example,
keyCode -8 on a Nokia 7650 is called "Clear Key". On a Sony Ericsson T610,
keyCode -8 is called "CLEAR". This is a happy coincidence, I guess, because
there doesn't even seem to be a specification or guideline that suggests
that keyCode -8 should be a clear button (or that if you support a clear
button, it should be keyCode -8). Is there?
I've downloaded 10 phone emulators, and clicked each button while running a
diagnostic program I wrote, and have been appalled by the subtle differences
in implementation. There *has* to be a better way.
Does anyone know where to find this resource? Or maybe a JAR that can do
some translations by detecting the type of phone it's running on and using a
"standardised" LUT?
Cheers,
Grant.
I've been trying to find a list that describes the vendor-specific results
for getKeyName() for each key on Java-enabled phones. For example,
keyCode -8 on a Nokia 7650 is called "Clear Key". On a Sony Ericsson T610,
keyCode -8 is called "CLEAR". This is a happy coincidence, I guess, because
there doesn't even seem to be a specification or guideline that suggests
that keyCode -8 should be a clear button (or that if you support a clear
button, it should be keyCode -8). Is there?
I've downloaded 10 phone emulators, and clicked each button while running a
diagnostic program I wrote, and have been appalled by the subtle differences
in implementation. There *has* to be a better way.
Does anyone know where to find this resource? Or maybe a JAR that can do
some translations by detecting the type of phone it's running on and using a
"standardised" LUT?
Cheers,
Grant.