1. 在AndroidManifest配置对应activity的intent-filter: action = android.intent.action.VIEW category = android.intent.category.BROWSABLE data = "foo://my.test.com" 2. 网页里<a href="foo://my.test.com">Test it</a> |
小黑屋|管理员QQ:44994224|邮箱(t268studio@gmail.com)|Archiver|MCLOUDER
GMT+8, 2024-5-4 14:28 , Processed in 0.032868 second(s), 19 queries .
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.