打开微信应用
答案:1 悬赏:60 手机版
解决时间 2021-03-16 07:27
- 提问者网友:沉默的哀伤
- 2021-03-15 14:44
打开微信应用
最佳答案
- 五星知识达人网友:人间朝暮
- 2021-03-15 16:22
不需要到AndroidManifest.xml注册微信的activity Intent intent = new Intent(); ComponentName cmp = new ComponentName(" com.tencent.mm ","com.tencent.mm.ui.LauncherUI"); intent.setAction(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setComponent(cmp); 如果还是报 android.content.ActivityNotFoundException: Unable to find explicit activity class { com.tencent.mm /com.tencent.mm.ui.LauncherUI}; have you declared this activity in your AndroidManifest.xml? 那就表示你的设备上没有安装微信
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯