Hi,

I was trying to open an Activity of an other applicatoin by using an
implicit Intent. It doesn't work, I thought it is possible to start an
Activity of an other Application by using implicit Intent. Or do I
missunderstand it?

I added following intent-filter to the AndroidManifest of Application
A:

<activity android:name=".NoteEdit" >
                <intent-filter>
                        <action
android:name="com.android.demo.notepad3.intent.action.EDIT_NOTE" />
                        <category 
android:name="android.intent.category.DEFAULT" />
                </intent-filter>
        </activity>

and called the Intent in Application B by using folloing code:

                String id= "1";
                Intent noteIntent = new
Intent("com.android.demo.notepad3.intent.action.EDIT_NOTE");
                noteIntent.putExtra("_id", id);
                startActivity(noteIntent);


all I get ist, the error message that Application A was stoped
unexpectedly.

can someone please help me


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to