Thank you .. it worked great.

On May 19, 12:09 pm, mayank k varshney <[email protected]>
wrote:
> call finish method it will remove the current activity from the stack and u
> will get the previous one
>
>
>
> On Wed, May 19, 2010 at 9:35 PM, dillipk <[email protected]> wrote:
> > Hi,
> >  How do I go to previous screen manually  .. say 'on button click'?
> > Its similar to imitate the BACK button click.
>
> > I used below code but no luck..
>
> > startActivity(new Intent(ViewOfferActivity.this,
> > this.getCallingActivity().getClass()));
>
> > Thanks,
> > DK
>
> > --
> > 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]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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