By "screens", do you mean separate activities displaying screens?
That's the first thing. Only activities will work correctly with the
back button.

If you are properly doing it with two separate activities, how are you
calling the second one? Are you using a finish() in the first
activity? If so, remove it.

On Feb 11, 4:30 pm, Komal <[email protected]> wrote:
> Hello NewDev,
> I am facing the same problem.do u have solution of it???if u have then
> please post it.
> Thanx.
>
> On Feb 5, 9:47 pm, NewDev <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I have anapplicationwith main view having a search button. On
> > clicking the search button, search results are displayed in a text
> > view. When I hit thebackbutton at this view, instead of navigating
> > to the previous screen,applicationitself gets closed.  Could anybody
> > please let me know how togobackto previous screen.
>
> > Thanks in andvance,
>
> > Naina- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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