Okay,
I created an app in app inventor and it works, but to understand what I have created I want to do code instead....
I have there pages.
1. Page one front cover enter app
2. A control page
3. a settings page.
The settings page is what I am working on now, and I have links to all of the three pages.
The settings page
in here is a list of values, some we add to and can select on another page, others we select from a fixed list based on the items in a list.
eg.
I have and English list and a Russian list and Danish list
each list contains 5 pre determined hardcoded values Value1,2 3 4 and 5, these values are populated from the selected list and saved and then can be used elsewhere.
In app inventor, I use a listpicker to select from the list of 3 languages, the index is used to report the 5 corresponding values
English, Danish and Russian are items in language_array
The values arent anywhere as yet as dont know where to put them.
In app inventor I have the languages Tag for each language and on for each value.
When I select the langiage with the list picker, it gets the values from the stored tags and displays them in a text field for each value.
English -------> Value 1 English
Value 2 English
Value 3 English
Value 4 English
Value 5 English
Russian -------> Value 1 Russian
Value 2 Russian
Value 3 Russian
Value 4 Russian
Value 5 Russian
Danish -------> Value 1 Danish
Value 2 Danish
Value 3 Danish
Value 4 Danish
Value 5 Danish
these values are stored in tinyDB with a tag.
I then recall stored tag Value 1 into a command.
for now I would be happy if I can create the list in eclipse and recall these value, storing them on and recalling them will come later.
I have tried spinner, alert dialog but keep getting various errors so wondered if anyone could explain how I would go about do it.
Can someone please give be a basic hint on the code needed to get it so the lists can be recalled by selecting the language, into the 5 value fields please.
If you need more info or can recommend tutorials to try then i would be greatful, just things are not workiung out, the tutorials I did in app inventor seemed to work okay, but some I have tried for the code have filed greatly.
Thanks
Wayne
I created an app in app inventor and it works, but to understand what I have created I want to do code instead....
I have there pages.
1. Page one front cover enter app
2. A control page
3. a settings page.
The settings page is what I am working on now, and I have links to all of the three pages.
The settings page
in here is a list of values, some we add to and can select on another page, others we select from a fixed list based on the items in a list.
eg.
I have and English list and a Russian list and Danish list
each list contains 5 pre determined hardcoded values Value1,2 3 4 and 5, these values are populated from the selected list and saved and then can be used elsewhere.
In app inventor, I use a listpicker to select from the list of 3 languages, the index is used to report the 5 corresponding values
English, Danish and Russian are items in language_array
The values arent anywhere as yet as dont know where to put them.
In app inventor I have the languages Tag for each language and on for each value.
When I select the langiage with the list picker, it gets the values from the stored tags and displays them in a text field for each value.
English -------> Value 1 English
Value 2 English
Value 3 English
Value 4 English
Value 5 English
Russian -------> Value 1 Russian
Value 2 Russian
Value 3 Russian
Value 4 Russian
Value 5 Russian
Danish -------> Value 1 Danish
Value 2 Danish
Value 3 Danish
Value 4 Danish
Value 5 Danish
these values are stored in tinyDB with a tag.
I then recall stored tag Value 1 into a command.
for now I would be happy if I can create the list in eclipse and recall these value, storing them on and recalling them will come later.
I have tried spinner, alert dialog but keep getting various errors so wondered if anyone could explain how I would go about do it.
Can someone please give be a basic hint on the code needed to get it so the lists can be recalled by selecting the language, into the 5 value fields please.
If you need more info or can recommend tutorials to try then i would be greatful, just things are not workiung out, the tutorials I did in app inventor seemed to work okay, but some I have tried for the code have filed greatly.
Thanks
Wayne