android 如何从依赖包 子包 跳转 主程序
ComponentName comp = new ComponentName(ActivityChatDetail.this, “com.xxxx.android.home.SelectRoomActivity”);Intent intent = new Intent();intent.putExtra(“message”, message);intent.setComponent(comp...
·
ComponentName comp = new ComponentName(ActivityChatDetail.this, “com.xxxx.android.home.SelectRoomActivity”);
Intent intent = new Intent();
intent.putExtra(“message”, message);
intent.setComponent(comp);
intent.setAction(“android.intent.action.VIEW”);
startActivity(intent);
更多推荐
已为社区贡献10条内容
所有评论(0)