From Chrome app to Android's intent schema, if you have an app, you can start the app, and if you don't have an app, you can fly to the market.
However, I cannot go to the specific page of that application.
I think the parameters of the delivery are probably not delivered well.
So I can't go to a specific page in the app.
Please let me know if you know how to set the parameters.
By the way, the current pass is
intent:// file path #Intent; package= market unique ID (bundle ID?); scheme= app scheme name;end;
It's like this.
Thank you for your cooperation.
android
"I will reply to ""Specific Page in the App"" by replacing it with ""Specific Activity""
"The rest is
https://developer.chrome.com/multidevice/android/intents
There is no concept of "file path" as described in the section.
Just in case, I will include an example below.
Link Side: ([] is a descriptive parenthesis and is not actually required)
<a href="intent://[hostname]/#Intent;scheme=[schemename]; package=[packagename];category=android.intent.category.category.BROWSABLE;action=android.intent.action.VIEW;end;">Test Link>
Manifest side
<activity android:name=".Activity "> you want to launch
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="scheme name"
android: host="hostname"/>
</intent-filter>
Action/Category can be added as needed, but category.BROWSABLE on the manifest side seems to be required.
If you just want to start the application, you should be able to start it only with scheme and host.
If the application is not installed by adding a package, we will go to find the package.
In addition, if you want extra information, etc., the following command is useful for assembling the int:schema string.
adb shell am to-intent-uri
https://developer.android.com/studio/command-line/adb.html#IntentSpec
© 2024 OneMinuteCode. All rights reserved.