how to add some key actions from physical keyboard to android

by mizmit1222 » Tue, 28 Apr 2009 14:05:49 GMT


Sponsored Links
 Hi,

See /system/usr/keylayout/qwerty.kl.

KeycodeChecker may come in handy.
 http://androidzaurus.seesaa.net/article/107106587.html 

Hope this helps a bit,



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



how to add some key actions from physical keyboard to android

by Morris » Tue, 28 Apr 2009 14:45:40 GMT


 Hi,

Thanks for your information.

Would you tell me how the qwerty.kl was produced?
Because I want to implement these keys, I need to know its process.

Morris




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. Grabbing System Exception Android

Hi everyone,
i'm andrea from androidiani.com, i'm working on a library that will
help developers about managing unexpected exceptions.

The library is quite simple on it's idea, but i can't grab the
unexpected exception withouth the use of a "global" try catch
clausole.

I saw the instrumentation class but i think it can't be useful for
me..

Obviously the library will be free and the webservice too.. ( unless
for the applications that generates quite low traffic ) But i
personally don't love the way of global try catch..
--~--~---------~--~----~------------~-------~--~----~

2. JSONObject text must begin with '{' at character 1

I'm having a weird error, seems to be cause whenever I hit JSONObject
json=new JSONObject(result);.
The error msg is org.json.JSONException: A JSONObject text must begin
with '{. I have no idea how to fix this is any one have any idea
PLEASE LET ME KNOW. The JSON File is

thanks

The JSON File is
{"ResultSet":{
  "totalResultsAvailable":"3",
  "totalResultsReturned":"2",
  "firstResultPosition":"1",
  "Result":[
    {
      "Title":"madonna 116",
      "Summary":"Picture 116 of 184",
      "Url":"http:\/\/www.celebritypicturesarchive.com\/pictures\/m\/
madonna\/madonna-116.jpg",
       }
    },
    {
      "Title":"madonna 118",
      "Summary":"Picture 118 of 184",
      "Url":"http:\/\/www.celebritypicturesarchive.com\/pictures\/m\/
madonna\/madonna-118.jpg",
      }
    }
  ]
}
}

-- 

3. Relationship between MediaPlayer's audioStreamType and AudioManger's mode

4. Google servers busy ?

5. Help! Force close after renaming package

6. android-x86 test build 20091113 is available

7. Does MotionEvent.getEdgeFlags() ever return anything other than 0 ?