include all the activities in manifest
use following code
Intent i = new Intent(Context.this, New activity.class);
startActivity(i);

this code will divert you to New Activity

On Feb 13, 1:18 pm, bigauto <chidragon1...@gmail.com> wrote:
> It seems that finish() ends a activity, but I'm not sure if it will
> actually allow me to run a different activity on a simulator. Also if
> there are any tutorials dealing with this it would be greatly
> appreciated.
>
> On Feb 13, 2:26 am, susanner <zsusan...@163.com> wrote:
>
>
>
> > Close with finish() for that activity when you are done.
>
> > On 2月13日, 下午2时42分, bigauto <chidragon1...@gmail.com> wrote:
>
> > > I am using eclipse to run the simulations and I can't get the
> > > simulator to run anything other than the default activity. When I
> > > created the android project, eclipse automatically created a default
> > > class within that package, and it seems like I can't run anything
> > > other than that class. I created another activity in  that package,
> > > but I can't seem to get the simulator to run that instead.
>
> > > Also I was wondering if we can have class constructors for activity
> > > classes?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to