0

Not able to open the navigation app when passing the mimetype as "text/plain"

 <queries>
        <intent>
            <action android:name="android.intent.action.SEND" />
            <data android:mimeType="text/plain"/>
        </intent>
    </queries>

But when I pass mimeType as "image/jpeg" or "/" I'm able to see navigation apps as chooser apps.

But in intent, I'm passing only Latitude and Longitude so could someone explain why mimetype as "image/*" is required here?

Android 11 also new and map concept also new to me any help would be appreciated. Thanks in advance.

blueeyes
  • 143
  • 1
  • 4

1 Answers1

0

What if you add explicitly the package of g-map to your manifest:

 <manifest package="com.example.game">
<queries>
    <package android:name="com.google.android.apps.maps" />
</queries>
...