Re: [android-developers] How to go to Home screen..?

2010-12-23 Thread swaroop chandak
Simple dude..
just call intent for this homescreen class..
like..

Intent homeScreen= *new* Intent(*this*,HomeScreen.*class*);

startActivity(homeScreen);



Swaroop


On Fri, Dec 24, 2010 at 1:21 PM, Abhilash baddam 
abhilash.androiddevelo...@gmail.com wrote:

 Hi friends,

When the user clicks on a button, I want to navigate the
 screen into Home Screen. How can we achieve this.





 Regards,
 Abhilash


 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 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

Re: [android-developers] Managing activity stack?

2010-12-21 Thread swaroop chandak
I am also hving same problem which is Nikola is facing(how to restrict
backward traversing)..
if u find out any solution please let me know.

Thanks,
Swaroop

On Tue, Dec 21, 2010 at 7:30 PM, Nikola nikola1...@gmail.com wrote:

 Hi,

 I have 3 activity that are used for showing data and choosing options.
 There is menu with 3 button at the bottom that enables you to chose
 activity.

 My question is: how to handle following situations (implement them):

 1) I want to show first fourth activity at the start, but discard it after
 being shown.
 (you cannot go back and see it) ,


 2) If I am in for eg. in activity number 2 and want to go in activity 1
 then from 1 back to two,
 what is procedure for this, beacuse when I am doing this through intents I
 am leaving trail
 behind so going with back button there is whole stack. (how to avoid this).


 Thanks.

 --
 God is Real, unless declared Integer.
 J. Allan Toogood, FORTRAN programmer

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 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