android 中 浏览器调用本地app应用
16lz
2021-12-04
app应用的 AndroidManifest.xml 定义文件
调用网页
<activity > <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="my.a" android:scheme="m" /> </intent-filter> </activity >
调用网页
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Insert title here</title></head><body> <a href="m://my.a/play?a=b">local3</a><br/></body></html>
更多相关文章
- Android(安卓)APK安装过程及原理详解
- android Progressbar使用
- Android写文件到SDCard的一般过程和代码
- ntfs在android平台上的移植
- Android(安卓)Apk反编译、签名
- Android(安卓)Service
- Android最简单的使用数组的适配器Adapter
- Android最好看的圆形进度条ProgressBar
- Android(安卓)M PackageManagerService解析