screen question

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

screen question

Postby bqbqhahabq » Fri Nov 27, 2009 3:54 am

Hi, how are you?

I have a question as below..

How can I get effect as same as pushing back button ?

I mean, I want to the screen back to previous screen as coding (as same effect as pushing back btn on the hardware)

plz tell me plz..
bqbqhahabq
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Nov 17, 2009 6:57 am

Top

Re: screen question

Postby jagtap.jj1 » Fri Nov 27, 2009 5:23 am

Simple way to close the current activity, this will direct app to previous activity. Use "finish()" to destroy current screen.

bqbqhahabq wrote:Hi, how are you?

I have a question as below..

How can I get effect as same as pushing back button ?

I mean, I want to the screen back to previous screen as coding (as same effect as pushing back btn on the hardware)

plz tell me plz..
java-android developer
User avatar
jagtap.jj1
Senior Developer
Senior Developer
 
Posts: 124
Joined: Fri Aug 22, 2008 11:52 am
Location: India(Mumbai)

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests