I have a module1 with a layout1 in which i enter text into three EDITTEXT views (surname, given name and DOB).
I then switch (startActivity(main)) [Main being the name of module2] with a layout2 which is the same as layout1 except the three EDITEXT views above are LABELS.
This is where I want to enter the information entered in layout1 - but it comes up blank.
I have read the 'Activity life cycle' in the users guide but not got any further forward.
Is it easier to have 1 main module with a code module - if so how do you call a sub in a code module and where do you declare the variables.
I was hoping to use Klaus's 'SQLiteLight1' example to build on the current project to save the data entered into a database but i can't get passed the basics.
What an i missing
One frustrated new coder
I then switch (startActivity(main)) [Main being the name of module2] with a layout2 which is the same as layout1 except the three EDITEXT views above are LABELS.
This is where I want to enter the information entered in layout1 - but it comes up blank.
I have read the 'Activity life cycle' in the users guide but not got any further forward.
Is it easier to have 1 main module with a code module - if so how do you call a sub in a code module and where do you declare the variables.
I was hoping to use Klaus's 'SQLiteLight1' example to build on the current project to save the data entered into a database but i can't get passed the basics.
What an i missing
One frustrated new coder