Use Launcher in MAUI app #29523
Unanswered
AngeloLazzari
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, as I can read here https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/launcher?view=net-maui-9.0&tabs=android I want to use launcher to open a file I have on my app filesystem.
I really cannot find the way to add to the Platforms/Android/AndroidManifest.xml the code the guide speak about :
<activity android:name="appName" android:exported="true"> <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="lyft"/> <data android:scheme="fb"/> </intent-filter> </activity>
If I add it to the actual AndroidManifest it shows me a few errors.. Am I missing somthing? thanks
Beta Was this translation helpful? Give feedback.
All reactions