What is the command used when we press the "go back" button?

Put your problem here if it does not fit any of the other categories.

What is the command used when we press the "go back" button?

Postby mtak » Mon Sep 19, 2011 3:24 am

It seems kind of noob, but what is the command issued when we press the "go back" button (don't know the name), that is between the menu and the search button???

Does it end the TOP activity or just put a hold on it?? thx!
mtak
Freshman
Freshman
 
Posts: 4
Joined: Thu Sep 15, 2011 7:46 pm

Top

Re: What is the command used when we press the "go back" but

Postby jonbonazza » Mon Sep 19, 2011 3:34 pm

You override the onKeyDown() method like so:

http://stackoverflow.com/questions/2000 ... ome-button

The only activity that the end user can see is the top activity, so yes, it ends the top activity.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 24 guests