In Eclipse IDE, I created a workspace with two projects
( applications ) . Say A & B. Both are in same package.
My intention is to lauch a activity of A from some activity of B.
Below is my code for B, which gets executed on Button click
Uri uri = Uri.parse("vnd.android.cursor.dir/vnd.message.note");
Intent i = new Intent(Intent.ACTION_VIEW, uri);
startActivity(i);
and in A's manifest.xml, I have
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/vnd.message.note" />
</intent-filter>
On clicking button of B, I am expecing A's activity to get lauched.
But it is not working. On click it shows a dialog with "force
dialog".
Is there any settings need to done in Eclipse OR any code changes?
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---