Do you need all of the other activities? You can put finish() on the ones
that you are leaving when you go to the next one.
On Wednesday, August 29, 2012 2:15:02 AM UTC-7, Sadhna Upadhyay wrote:
Hi everybody,
can some one tell me that how to exit from whole application when user
click
try system.exit(0);
On Wed, Aug 29, 2012 at 2:51 PM, Jason Sesso djse...@gmail.com wrote:
Do you need all of the other activities? You can put finish() on the ones
that you are leaving when you go to the next one.
On Wednesday, August 29, 2012 2:15:02 AM UTC-7, Sadhna Upadhyay wrote:
Hi
button = (Button)findViewById(R.id.Button02);//exit button
if(button != null){
button.setOnClickListener(new View.OnClickListener(){
public void onClick(View v) {
// TODO Auto-generated method stub
Activity m_activity = this;
button = (Button)findViewById(R.id.Button02);//exit button
if(button != null){
button.setOnClickListener(new View.OnClickListener(){
public void onClick(View v) {
// TODO
4 matches
Mail list logo