• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Command vs Key Code Event in Canvas

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic