我有followind代碼來打開其他應用活動:的Android oppening其他應用程序活動
Intent shortcutIntent = new Intent(activitate, MapFragment_.class);
shortcutIntent.putExtra("instantly", true);
shortcutIntent.putExtra("data", address);
shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
sendBroadcast(shortcutIntent);
在我的清單:
<activity
android:name=".MapFragment_.class"
android:authorities="com.mobi.android.xyz"
>
</activity>
而且我recive:
android.content.ActivityNotFoundException: Unable to find explicit activity class
有什麼不對?
首先閱讀:http://developer.android.com/guide/components/intents-filters.html –