OK, I tried that but it did not help.

Any other suggestions?

On Jan 25, 2:16 pm, Dianne Hackborn <hack...@android.com> wrote:
> If the activity does not define any intent filters in its manifest, make
> sure it is accessible to other packages through android:exported="true".
>
> On Sun, Jan 25, 2009 at 9:47 AM, info.sktechnol...@gmail.com <
>
>
>
>
>
> info.sktechnol...@gmail.com> wrote:
>
> > My application has 2 packages because one is shared with my other
> > applications.
> > I want to start an activity of the shared package.
> > I tried the following:
> >   Intent intent = new Intent();
> >   intent.setClassName(shardedPackageName,sharedActivityName);
> >   startActivity(intent);
>
> > It throws an ActivityNotFoundException and suggests that the activity
> > might not
> > be in the manifest.  But how do I list an acitivity from another
> > package in the manifest?
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.- 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