You are starting the package test.another but your manifest declares it as
test.current.

On Mon, Nov 23, 2009 at 10:07 AM, Tomas <tomas.c.hjelmb...@gmail.com> wrote:

> I have splitted my Android project in 2 packages, lets say:
> test.current and test.another.
> From an activity in test.current I want to start an activity in the
> package test.another
>
> Intent i = new Intent();
>        i.setClassName("test.another", "test.another.MyActivity");
>        startActivity(i);
>
> But I got ActivityNotFoundException.
> The essential parts of my manifest looks like this:
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>      package="test.current"
> ...
> <activity
>            android:name="test.another.MyActivity"
>            android:exported="true">
> ...
>
> Please help.
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
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, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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