Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BACK KEY in sanyo8100

 
sivaramakrishna kasimahanthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

When I press BACK key on 8100-sanyo, this action shuts down the game, other sample games presented in 8100 like Jamdat Bowling are simpley ignoring this key press event. I need to give similar implementaion for my game. How can I?


Thanks for your time,
-K.S.Ramakrishna
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Override it such as:
private Command comScore = new Command("Score", Command.BACK, 1);
 
sivaramakrishna kasimahanthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Roseanne Zhang, thanks for your reply. I need small clarification also,

You mean to say add the Command Object to the current displayable, so that it will be mapped to the BACK key on SANYO-8100, is that right ?

Once again thank you very much.
-K.S.Ramakrishna
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what we are doing. You handle the event in your commandAction. You can do different thingd with it too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic