Hi Everyone !!
is there any way to save a state during application execution and to use it further.
Please Reply
Hi Everyone !!
is there any way to save a state during application execution and to use it further.
Please Reply
Regards
Rajan Verma
Hi Rajan,
Can you explain your problem little more clearly . So that you will get the better support.
Actually i have two forms Form1 and Form2. In Form1 i have some textfields to be filled. While moving to form2 i have save the filled items and when coming back to Form1, i have to go to the same state(No. of textfields filled).
Let for an example :
Form1: Name tf_name
Employee code tf_empcode
Employee ID tf_empid
Employee Address tf_address
Date tf_date
Form2 : Displays LWUIT Calendar and has one soft button Get Date. Which will be used in Form1 Date textfield.
Now, In Form1 i filled Employee Address (I have to save this state) and for Date it will go to Form2 which has LWUIT Calendar Displyed. The user Selected the Date and it will be used in Date Field of Form1. Now on Pressing GetDate SoftButton in Form2. It will be back to Form1. when it comes back to Form1. the Employee addres is again Blank which i do not want.
Please Reply.
Last edited by rajan701v; 2011-02-15 at 05:49.
Regards
Rajan Verma
Hi Rajan,
I got the problem now . How are you navigating from the form2 to from1 ?
Are you creating the your views when it requires or created all the views at the application starts ? When you are navigating from one from to another form those values filled in the first form will not go until you explicitly clear those values .
You can simply set the display to form1 . It will display all the values the user has entered.
Thanks for the reply bhanuchandar.k
will u please give the answer of this question Please no one answering this question. I have an urgent requirement .
http://discussion.forum.nokia.com/fo...inner-in-LWUIT
Sorry to interrupt this question in between.
Please Reply
Regards
Rajan Verma
Hi Rajan,
By seeing the example and the documentation what I have understood is , You just need to specify the min and max intervals to the spinner create date method . DAY is just one constant they have define to calculate the min and max value there is no significance over there you can use your own min max values.
I just took the DAY as 15 and calculate the date I got the min and max values are
2011-02-15 20:01:49.92 (min)
2011-02-15 20:02:19.922(Max)
2011-02-15 20:02:04.922(Current Date)
I think the date will spin between this range I think .
The documentation of the Spinner is http://www.hamzawy.eb2a.com/JME/com/...e/Spinner.html
Please correct me If I am wrong.