[android-developers] Re: Two page form question - saving data from first page

2009-06-16 Thread Doug
Remember that your activity class has methods that are automatically called when it is dropped and restored. All you need to do is implement them. On the original question of being able to pass page 1 data to page 2... just add a click listener to your 'next' button, in there create the intent

[android-developers] Re: Two page form question - saving data from first page

2009-06-15 Thread gjs
Hi there, You may need to save your data from the spinners earlier using the various Listeners in order to cater for other events - eg press Home/ Back button, keyboard open/cose, phone rings etc - other than just when user 'clicks button to move to next page'. You can also save the data from

[android-developers] Re: Two page form question - saving data from first page

2009-06-15 Thread doubleminus
Ah. So I'll likely be using a listener of some sort or a app Preference object - and not writing to the database? Good to know. I hadn't thought of the obvious issues you've brought up (user moving away from application then coming back). The data does not need to be preserved beyond the