美文网首页
Android DeepLink多个参数传递

Android DeepLink多个参数传递

作者: 漠东野狼 | 来源:发表于2019-08-01 21:55 被阅读0次

DeepLink在adb shell命令模拟时,如果有多个参数,& 符号之前要加 \ 进行转义,否则后面的参数收不到。
解决方法:

$ adb shell am start -W -a android.intent.action.VIEW -d "scheme://host?package=com.tencent.mm\&isNeedComment=true"

相关文章

网友评论

      本文标题:Android DeepLink多个参数传递

      本文链接:https://www.haomeiwen.com/subject/grdhdctx.html