hi i have created an android app, and i want to use an external qr code reader to call the app. However, the qr code reader prompt me with this message: "Sorry we cannot find an app to launch the request action. The qr code contents may be invalid". i did register the scheme in android manifest.xml, but it still cannot launch my app the following is the android manifest.xml
and the text encoded in the qr code is as follow
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ttest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask">
<intent-filter>
<data android:scheme="cedemo" android:host="com.cedemo.scan" />
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intetnt.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
cedemo://com.cedemo.scan
