Did you create both activities? You could try it using intent filters...

On Thu, Jan 15, 2009 at 4:18 AM, Bamboo <[email protected]> wrote:

>
> Yes, the code was successful with the alarm clock. Do you know what I
> may be missing in my personal application that prevents this from
> working?
>
> On Jan 14, 11:47 pm, James Yum <[email protected]> wrote:
> > Hi,
> >
> >
> >
> > > Intent intent = new Intent();
> > > intent.setClassName("packageName", "packageName.className"
> > > intent.startActivity();
> >
> > > (adding the fully qualified activity into the AndroidManafest.xml)
> >
> > That looks right, however I don't think you need to add the activity
> > to the manifest.
> >
> > Does something like this work for you?
> >
> >       Intent intent = new Intent();
> >       intent.setClassName("com.android.alarmclock",
> > "com.android.alarmclock.AlarmClock");
> >       startActivity(intent);
> >
> > Cheers,
> > James
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to