第三方调用网上有不少方法了,这里说下Intent调用第三方Activity的注意点,试了好几次都没成功才发现的
1.第三方调用的App,需要在AndroidManifest 的Acivity 添加intent-filter 还有设置 lauchMode 为 singleTop 或 singleTask
android:launchMode="singleTop"
<intent-filter> <action android:name="com.xxxx" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter>