Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Intent intent = new Intent(Intent.ACTION_VIEW);
ComponentName cn = new ComponentName("com.tencent.mm", "com.tencent.mm.plugin.base.stub.WXCustomSchemeEntryActivity");
intent.setData(Uri.parse("weixin://dl/moments"));
intent.setFlags(Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP);
intent.setComponent(cn);
startActivity(intent);
@jungletian

This comment has been minimized.

Copy link
Owner Author

jungletian commented Aug 12, 2016

作者:andforce
链接:https://www.zhihu.com/question/30616809/answer/72961834
来源:知乎
著作权归作者所有,转载请联系作者获得授权。

"weixin://dl/stickers"
"weixin://dl/games"
"weixin://dl/moments"
"weixin://dl/add"
"weixin://dl/shopping"
"weixin://dl/groupchat"
"weixin://dl/scan"
"weixin://dl/profile"
"weixin://dl/settings"
"weixin://dl/general"
"weixin://dl/help"
"weixin://dl/notifications"
"weixin://dl/terms"
"weixin://dl/chat"
"weixin://dl/features"
"weixin://dl/clear"
"weixin://dl/feedback"
"weixin://dl/faq"
"weixin://dl/recommendation"
"weixin://dl/groups"
"weixin://dl/tags"
"weixin://dl/officialaccounts"
"weixin://dl/posts"
"weixin://dl/favorites"
"weixin://dl/privacy"
"weixin://dl/security"
"weixin://dl/wallet"
"weixin://dl/businessPay"
"weixin://dl/businessPay/"
"weixin://dl/wechatout"
"weixin://dl/protection"
"weixin://dl/card"
"weixin://dl/about"
"weixin://dl/blacklist"
"weixin://dl/textsize"
"weixin://dl/sight"
"weixin://dl/languages"
"weixin://dl/chathistory"
"weixin://dl/bindqq"
"weixin://dl/bindmobile"
"weixin://dl/bindemail"
"weixin://dl/securityassistant"
"weixin://dl/broadcastmessage"
"weixin://dl/setname"
"weixin://dl/myQRcode"
"weixin://dl/myaddress"
"weixin://dl/hidemoments"
"weixin://dl/blockmoments"
"weixin://dl/stickersetting"
"weixin://dl/log"
"weixin://dl/wechatoutcoupon"
"weixin://dl/login/phone_view"
"weixin://dl/login/common_view"
"weixin://dl/businessPay"
"weixin://dl/businessTempSession/"
"weixin://dl/businessGame/detail/"
"weixin://dl/businessGame/detail"
"weixin://dl/businessGame/library/"
"weixin://dl/businessGame/library"
"weixin://dl/businessWebview/link/"
"weixin://dl/businessWebview/link"
"weixin://dl/business/tempsession/"
"weixin://dl/businessTempSession/"
"weixin://dl/business"
"weixin://dl/wechatout"
"weixin://dl/update_newest_version"
"weixin://dl/moments"
"weixin://dl/recommendation"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.