[android-developers] Go to the home screen.

2009-02-24 Thread ipeg . student

Hi All Android Developers...


   Thanks for the replaies. I want to go to
the home page of android from my activity. Can anybody tell me how can
i do this? I have tried a lot. Thanks in advance.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Go to the home screen.

2009-02-24 Thread ipeg . student

Hello

   Thanks for the reply. But my question is i have a
exit button. I want to go to the home screen by clicking the button. I
know the onClick() method. Please tell me the method by which i can go
to the home page of android.


btn4=(Button)findViewById(R.id.bt4);
btn4.setOnClickListener(new ImageButton.OnClickListener() {
public void onClick(View v) {












}
});


i dont want finish() method.

Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Go to the home screen

2009-02-24 Thread ipeg . student

Hello


 Thanks. But my problem is not solved. actually i have
many activities. So when i go to the 2nd activity and return to the
first one then System.exit(1); is working just as a back button.

But i want to go the home screen. Please tell me what can i do?
Thanks in advance.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---