第三方二维码软件扫描后 打开指定应用并转到指定界面,各位大神有何思路? 类似于丁丁优惠劵那种,用第三方扫码软件扫描指定优惠劵二维码后会转到丁丁应用中的此优惠劵信息页面。类似这种效果该如何实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 uri?貌似可以实现,不过要第三方软件本身有写这个方法 不知道这个可以不可以.扫描后是一个你们官网的网址,打开网址后有一个链接,例如是http://192.168.167.33:8088/mi-tracker-web/download.html, 点击链接后,打开应用.应用里需要写上这样的intent-filter: <activity android:name=".ui.UploadActivity" android:screenOrientation="portrait"> <intent-filter> <data android:scheme="http" android:host="192.168.167.33" android:port="8088" android:path="/mi-tracker-web/download.html"/> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter> </activity>具体能不能用还没试过.如果这种方案不行或者觉得不合理,那只能像微信那样内置一个扫描功能了吧,或者跟第三方扫描软件合作.参考资料:http://blog.csdn.net/hundsong/article/details/6623500 不会抓包,网上的某人抓的ios上的微信的包:http://www.blublu.me/news/detail/183893 java中使用monkeyrunner 发现一个叫黑马程序员的训练营 说是免费学3G开发 现在的培训机构真疯狂 标题一定要长~~~~~~~~~~~ 急急急!!! 请教,用ksoap2调用webservice的问题 为什么我无法启动2个模拟器 做一个项目,如何开头啊 安卓基础知识求解 安装intelhaxm 时显示 无法访问 Windows Installer Android 界面下方的功能条目怎么实现的 请问一下SqLite的query方法 关于摄像头对焦问题 Gallery的setSelection方法没有触发OnItemSelectedListener
扫描后是一个你们官网的网址,打开网址后有一个链接,例如是http://192.168.167.33:8088/mi-tracker-web/download.html, 点击链接后,打开应用.
应用里需要写上这样的intent-filter: <activity android:name=".ui.UploadActivity" android:screenOrientation="portrait">
<intent-filter>
<data android:scheme="http" android:host="192.168.167.33" android:port="8088" android:path="/mi-tracker-web/download.html"/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
具体能不能用还没试过.
如果这种方案不行或者觉得不合理,那只能像微信那样内置一个扫描功能了吧,或者跟第三方扫描软件合作.
参考资料:http://blog.csdn.net/hundsong/article/details/6623500