Android Question Open My App separat and not in WhatsApp

Alexander Stolte

Expert
Licensed User
Longtime User
With this code i can open my app from a url (from whatsapp for example), but the app is open in whatsapp and not as own app.
If i open the Taskmanager i see, my app is in whatsapp, how can i open my app as its own task?
B4X:
AddActivityText("main",
<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT"></category>
    <category android:name="android.intent.category.BROWSABLE"></category>
       
   <data android:scheme="https" />
   <data android:host="share.myurl.net" />
</intent-filter> )
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
What do you mean with "my app is in Whatsapp"?
Guess whatsapp has registered the https scheme too. If you decided to always use whatsapp at the first time then whatsapp is used.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
this is the recent apps screen showing a screenshot. In this case from whatsapp.
How is it related to your app?

I dont understand much from this thread and screenshot.

Guess you should describe it MORE clearly what you are doing, which code you are using and what is happening.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
this is the recent apps screen showing a screenshot. In this case from whatsapp.
How is it related to your app?
you see my app in the whatsapp thread. This is what i want to avoid, i want if i click in whatsapp a link from my app, that my app is starting in his own thread and not in the whatsapp thread like in the screenshot above.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
One more Example:
If you share a YouTube Video on whatsapp and now you click on this link in whatsapp, then the YouTube App ist starting in his own thread and not in the Whatsapp thread like in the image above.
 
Upvote 0
Top