Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Talk:Platform independent key events processing in Java ME

From Wiki
Jump to: navigation, search

This is a very useful artical, thanks for writing it. Some questions though:

  • Is there a detection method for Sharp phones?
  • Why are there so many checks need for the motorola phones?

30 Sep
Article Review by deepikagohil (20090930)

This article represents a good solution to the problem connecting to the identification of pressed keys. The article provides the solution to create the class called KeyCodeAdapter. Also this class can be used for determining vendor's platform of mobile device where application is launched by calling method getPlatform. The code snippest is given with full description and comments. The problem and the possible solution are elaborately described. Moreover the demostrated example is also attached. This article can be useful to intermediate and experienced developers.

Question regarding the standard keys

This is a brilliant article and proposes an excellent solution to make the same code work on an extensive range of phones.

Out of curiosity, why have different key codes been assigned to the standard keys like KEY_NUM1?