Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Mobility

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-2011, 11:03 AM
New Member
 
Posts: 1
Arrow Problem with Left key of mobile

Hi.
I'm working on a project, and I implemented a menu which I called it in the Midlet class and I implemented a list class that will display on the screen when I click an item of the menu,after that when I use left click for an item of the List class which is type of Canvas, a Canvas class named Fd must display,I called List class in the Midlet class too but I did'nt call Fd class in the Midlet!I wrote a code to display the Canvas like bellow but when I run the program,an error occuers in the code I wrote and it doesn't show the Fd class,
Keycode of Leftkey I used is true,cause when I wrote System.Out.Print();
it worked!could anybody help me to correct the code please?

protected void keyPressed(int keyCode)
{
int gameAction = this.getGameAction(keyCode);
switch(gameAction)
{

case Canvas.LEFT:
Display.getDisplay(midlet).setCurrent( new Fd(this,midlet));
break;}
}
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.