次のコードを使用して、WebブラウザのリンクからAndroidアプリを起動しようとしています。ウェブブラウザでURLリンクを使用してAndroidアプリを起動するにはどうすればよいですか?
は
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.rose.MoveMobile">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".app.MyApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
tools:replace="android:icon">
<activity
android:name=".Start"
android:configChanges="orientation"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data android:scheme=".app.MyApplication" android:host="com.example.rose.MoveMobile"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
</activity>
</application>
</manifest>
HTMLコード
<a href="http://MoveMobile.com.example.rose.MoveMobile">Launch Apps</a>
おかげで、私は自分のアプリケーション
AndroidManifest.xmlを呼び出すために/修正マニフェストファイルとし、hrefのコードを調整するために助けてください
それはTHIのようなものです? HTMLコードはどうですか?私は本当に混乱しています。 – Jamilah
@ジャミラ:「これはそう?」 - あなたのHTMLのあなたのURLによく一致します。 – CommonsWare