Created
November 19, 2015 05:52
-
-
Save andforce/36300fa0b7daa938b25e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
failed now?
open
"weixin://dl/businessWebview/link?appid=abcdefg&url=http%3A%2F%2Fdeveloper.huawei.com%2Fcn%2F"
weixin://dl/businessWebview/link?appid=abcdefg&url=http%3A%2F%2Fdeveloper.huawei.com%2Fcn%2F
weixin://dl/businessWebview/link?appid=abcdefg&url=http%3A%2F%2Fdeveloper.huawei.com%2Fcn%2F
Is it possible to share QR code image to wechat using urlschema like weixin://dl ?? thanks
"weixin://dl/stickers"
Is over?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"weixin://dl/business"