MIDP List and RMS problem

Hi, i am having a trouble to display my List item in MIDP. For example

i had data (Message and phoneNumber) in my RMS and i want to display it out at List so that i can select the contain (phoneNumber) by particular message using 'getSelectedIndex' from the message i choose.

like below

index 0 : Message 1 --> contain 1(phoneNumber)

index 1 : Message 2 --> contain 2(phoneNumber)

index 2 : message 3 --> contain 3(phoneNumber)

then if i choose message 1 it will bring me to next screen that suppose to display the phoneNumber from mesagge 1 and vice versa.but.

The problem i had here it seems the list append the latest insertion

to the top and all the data screw up as below

index 0 : Message 3 --> contain 1(phoneNumber)

index 1 : Message 2 --> contain 2(phoneNumber)

index 2 : message 1 --> contain 3(phoneNumber)

and i need to plus 1 at the getSelectedIndex in order to see the phoneNumber in Message 3 or else return nothing. Can i have any tips to solve it? By the way i found out List index start at 0 and RMS index start at 1.

Please reply me if the question is not clear..Thanks

cheers,

Charles

[1222 byte] By [Charles85a] at [2007-10-3 4:19:35]
# 1
Sorry about previous post..i solved the problem...
Charles85a at 2007-7-14 22:21:26 > top of Java-index,Java Mobility Forums,Java ME Technologies...