我想打开一个特定的用户ID:
我开发了这种静态方法:
public static Intent newSnapchatIntent(String id) {
if (isApplicationEnabled(Defines.SNAPCHAT_PACKAGE_NAME)) {
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("*/*");
intent.setPackage("com.snapchat.android");
return intent;
}
return new Intent(Intent.ACTION_VIEW, Uri.parse(NetworkUtils.formatUrlPath("https://snapchat.com", id)));
}但是我不知道如何根据这个#id打开一个特定的用户profil。你们有主意吗伙计们?
非常感谢
发布于 2017-12-17 11:48:27
我认为这样做是不可能的。但也许这个有帮助。如果需要更多信息,在底部有链接的GitHub存储库。
https://stackoverflow.com/questions/47854391
复制相似问题