How to know form data changed while saving the form in Android
android, android-intent
Solution
What we did in our Flex application to solve this problem, was to keep a global variable in the page and added a listener to whenever any thing in the form was changed. In that case the variable is set to true.
Then when Cancel is clicked, if the value is true, we show a popup saying there are unsaved changes. Let me know if you need any additional information.
Problem
I Created one app to register employee.There are multiple forms to fill and save data in database, every form(page) have cancel and save buttons.Here i wanted to give alert like "you will lose your changes" when user edited the form and click on cancel button. Using servlet and jsp i can know form changes.But I don't know in Android. Is it possible in Android. Please help me any one.. Thank you.