This week's book giveaway is in the Java in General forum.
We're giving away four copies of Java by Comparison (eBook) and have Simon Harrer, Jörg Lenhard, Linus Dietz on-line!
See this thread for details.
Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BACK KEY in sanyo8100  RSS feed

 
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
 
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.
 
Always look on the bright side of life. At least this ad is really tiny:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!