[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

J2ME: Vertical Item traversing

Posted on 2004-10-25
7
Medium Priority
?
770 Views
Last Modified: 2008-03-17
Suppose Items (I was testing with StringItems) are packed across multiple rows. The focus is on one of them (let's say somewhere in the middle). When UP or DOWN key is pressed what I observe (I am working with Sun Studio's emulator) is that the focus moves to the right or left neighbor of an Item. I was expecting that it will move to the row above or below currently selected Item (if available) to the Item that is right on top or right at the bottom of the currently selected Item.

Is this implementation specific?
Do you know of any implementation that would traverse vertically on UP and DOWN?

If it was meant to be this way, do you know of the way to provide above mentioned vertical traversal? (I know that CustomItem can solve this problem but it seems to be an over killing way to solve simple issue. I am looking for relatively simple solution)
0
Comment
Question by:chochomhaloimed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 13

Accepted Solution

by:
petmagdy earned 2000 total points
ID: 12406002
no I tried this on Nokia emulators it works up and down don't warry :)

u can get the nokia emulators for free after registration at:

http://www.forum.nokia.com/main.html
0
 

Author Comment

by:chochomhaloimed
ID: 12468111
Can you please specify which emulator did you use. I tried few and it seemed to have the same problem.
0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12468412
like Nokia series 60
0
 

Author Comment

by:chochomhaloimed
ID: 12706138
I found Nokia emulator where it kind of works. But what I see is when focus is at Item in the middle of the row and up arrow is pressed, the focus goes to the first Item of the row above, implementation does not move the focus to the Item that is above an Item where focus was.

Is this normal behaviour or this is also problem of implementation/emulator? Did you ever see emulator where focus moves to the Item above on up arrow.
0
 
LVL 13

Expert Comment

by:petmagdy
ID: 12708925
yes it is normal
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question