Android Question question with intent-filter (solved)

jose luis gudino

Active Member
Licensed User
Longtime User
hello everyone.
I'm going to try to explain a problem I have when using an intent.
I attach the first image: there we can see how when sharing a google map location in whatsapp or telegram, the application offers me the use of Uber, waze or google maps. Clicking on any of these applications opens the selected application and WhatsApp or Telegram remains open :

WhatsApp Image 2023-03-08 at 2.38.47 PM.jpeg


Now I have the problem with my application, when I click on the location in WhatsApp and it offers to select my application up to there everything is fine, but then it opens a single application:



WhatsApp Image 2023-03-08 at 2.38.49 PM.jpeg


as you can see I only see one application that is whatsapp
, and I don't see my application
greetings and thanks in advance everyone
 

jose luis gudino

Active Member
Licensed User
Longtime User
hi
this is my manifest
Manifest:
AddActivityText("main",
<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="geo" />
 </intent-filter> )

attached explanatory video:


It only opens my application and it is as if it were embedded within Telegram, and when I try Waze it opens the two applications: Waze and Telegram
 
Upvote 0
Top