To expand on that, I had exactly this problem and found that my first
activity's onResume() was indirectly reinitializing something it
shouldn't have, and kaboom.

On Feb 9, 9:05 pm, Komal <[email protected]> wrote:
> Hi,
> I am developing simple application.
> I have one activity which displays list of name of employees. I m
> fetching the employees name from database.
> when i click on any of the name ,i will display the next page showing
> details of that employee. also fetching details of employee from the
> database.
> It is working perfectly.
> but when i press back button of android phone to go back to the
> list ,i m facing an error.
> how can i go back to the list?
> please help me!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to