Skip to content

Instantly share code, notes, and snippets.

@andforce
Created November 19, 2015 05:52
Show Gist options
  • Star 52 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save andforce/36300fa0b7daa938b25e to your computer and use it in GitHub Desktop.
Save andforce/36300fa0b7daa938b25e to your computer and use it in GitHub Desktop.
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);
@519430378qqcom
Copy link

"weixin://dl/stickers"

@WhoMovedMyWord
Copy link

weixin://dl/wallet"

@markvalen
Copy link

"weixin://dl/business"

@viix
Copy link

viix commented Aug 26, 2016

failed now?

@liulixiang1988
Copy link

liulixiang1988 commented Feb 9, 2017

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

@Jerry1989d
Copy link

weixin://dl/businessWebview/link?appid=abcdefg&url=http%3A%2F%2Fdeveloper.huawei.com%2Fcn%2F

@aung01
Copy link

aung01 commented Mar 5, 2020

Is it possible to share QR code image to wechat using urlschema like weixin://dl ?? thanks

@2hevva
Copy link

2hevva commented Apr 19, 2021

"weixin://dl/stickers"

@karpalig
Copy link

Is over?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment