Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Command vs Key Code Event in Canvas

 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The spec said:"...Canvas can use both key code event and commands for the event handling... if keys used for commands may overlap with the keys that will deliver key code events to the canvas, the device will provide a means transparent to the application that enables the user to select a mode that determines whether these keys will deliver commands or key code events to the app..."

I believe that it not always true. It is really the implementation and device DEPENDENT!. The device will or will not provide a means transparent to the application that enables the user to select a mode that determines whether these keys will deliver commands or key code events to the app. I can't see how it work. I believe that the commands will take precedent in normal case. Any comments for that
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alibabra Sanjie:

I believe that it not always true. It is really the implementation and device DEPENDENT!. The device will or will not provide a means transparent to the application that enables the user to select a mode that determines whether these keys will deliver commands or key code events to the app. I can't see how it work. I believe that the commands will take precedent in normal case. Any comments for that


you are true that it's device implementation dependent... but it means that the deveices that implement MIDP 2.0 must implement those things adn let the users select the mode.... Yes, the high-level commands will have more precedence over the low-level commands...

Just my 2 cents...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic