ilan Expert Licensed User Longtime User May 27, 2024 #1 hi is it possible to create an url where the user clicks on it and if the app is installed it will open and a value is also sent via this url? like youtube url does. user share a video via url link. if someone clicks on it it opens the youtube app and load the video. is something like this possible in b4x language? so for b4a and b4i? i found that it is possible for b4a using <intent-filter> Launching an App from a URL I am attempting to get the Android application chooser to launch when a specific URL is clicked from within a registration e-mail. I have already looked at the below question and several others but... stackoverflow.com
hi is it possible to create an url where the user clicks on it and if the app is installed it will open and a value is also sent via this url? like youtube url does. user share a video via url link. if someone clicks on it it opens the youtube app and load the video. is something like this possible in b4x language? so for b4a and b4i? i found that it is possible for b4a using <intent-filter> Launching an App from a URL I am attempting to get the Android application chooser to launch when a specific URL is clicked from within a registration e-mail. I have already looked at the below question and several others but... stackoverflow.com
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #2 ilan said: i found that it is possible for b4a using <intent-filter> Click to expand... Its working in B4I too: Register Url Scheme Hi, Does anyone know how to register a url scheme for the app so that I can open my B4i App from another app ? www.b4x.com Upvote 0
ilan said: i found that it is possible for b4a using <intent-filter> Click to expand... Its working in B4I too: Register Url Scheme Hi, Does anyone know how to register a url scheme for the app so that I can open my B4i App from another app ? www.b4x.com
ilan Expert Licensed User Longtime User May 27, 2024 #3 Alexander Stolte said: Its working in B4I too: Register Url Scheme Hi, Does anyone know how to register a url scheme for the app so that I can open my B4i App from another app ? www.b4x.com Click to expand... perfect this is what i need. is there something similar for b4a? share link that open app and send string. Upvote 0
Alexander Stolte said: Its working in B4I too: Register Url Scheme Hi, Does anyone know how to register a url scheme for the app so that I can open my B4i App from another app ? www.b4x.com Click to expand... perfect this is what i need. is there something similar for b4a? share link that open app and send string.
aeric Expert Licensed User Longtime User May 27, 2024 #4 Example when sending message with WhatsApp. [solved]Open Whatsapp with a especific number Hi Could you share an example of a complete project because it gives me an error with #QueriesSchemes : whatsapp (Unsupported attribute: queriesschemes) and with Dim app As Application (Undeclared variable 'app' is used before any value has been assigned to it.) I wanted to know if I... www.b4x.com Upvote 0
Example when sending message with WhatsApp. [solved]Open Whatsapp with a especific number Hi Could you share an example of a complete project because it gives me an error with #QueriesSchemes : whatsapp (Unsupported attribute: queriesschemes) and with Dim app As Application (Undeclared variable 'app' is used before any value has been assigned to it.) I wanted to know if I... www.b4x.com
ilan Expert Licensed User Longtime User May 27, 2024 #5 thanks guys now the question is this. what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? EDIT: so i will explain what i mean. the link should be shared using whatsapp and clicking on it should open the app and read the string that is shared with the url (like a id). Upvote 0
thanks guys now the question is this. what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? EDIT: so i will explain what i mean. the link should be shared using whatsapp and clicking on it should open the app and read the string that is shared with the url (like a id).
aeric Expert Licensed User Longtime User May 27, 2024 #6 ilan said: thanks guys now the question is this. what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? EDIT: so i will explain what i mean. the link should be shared using whatsapp and clicking on it should open the app and read the string that is shared with the url (like a id). Click to expand... Is the targeted app created by you? Upvote 0
ilan said: thanks guys now the question is this. what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? EDIT: so i will explain what i mean. the link should be shared using whatsapp and clicking on it should open the app and read the string that is shared with the url (like a id). Click to expand... Is the targeted app created by you?
ilan Expert Licensed User Longtime User May 27, 2024 #7 aeric said: Is the targeted app created by you? Click to expand... yes both app are created using b4x. Upvote 0
aeric said: Is the targeted app created by you? Click to expand... yes both app are created using b4x.
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #8 ilan said: what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? Click to expand... In B4I you define a URL scheme e.g. b4x.com and then everything that is clicked with the link b4x.com opens your app. The same in B4A: Code: Copy AddActivityText("main", <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT"></category> <data android:scheme="https" /> <data android:host="yoururl.com" /> </intent-filter> ) then if a user opens a link with your url, then your app starts and in the main module check the intent like: B4X: Copy If Intenter.GetData.Contains("https://yoururl.com/") Then I have the code from a project from 2018. Upvote 0
ilan said: what will happen if one user is on ios and send the url to user that is on android? is it possible to create a universal url that will work on both platform? Click to expand... In B4I you define a URL scheme e.g. b4x.com and then everything that is clicked with the link b4x.com opens your app. The same in B4A: Code: Copy AddActivityText("main", <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT"></category> <data android:scheme="https" /> <data android:host="yoururl.com" /> </intent-filter> ) then if a user opens a link with your url, then your app starts and in the main module check the intent like: B4X: Copy If Intenter.GetData.Contains("https://yoururl.com/") Then I have the code from a project from 2018.
ilan Expert Licensed User Longtime User May 27, 2024 #9 thank you alexander, how would the url look like? Upvote 0
DonManfred Expert Licensed User Longtime User May 27, 2024 #10 ilan said: thank you alexander, how would the url look like? Click to expand... Opening a App with a URL is one thing. And it´s working. The other thing is that Firebase Dynamic Links | Firebase Documentation An introduction to Firebase Dynamic Links, which are links that work the way you want, on multiple platforms, and whether or not your app is already installed. firebase.google.com which is the feature behind that what you are requesting here is deprecated now. Service shutdown next year. Upvote 0
ilan said: thank you alexander, how would the url look like? Click to expand... Opening a App with a URL is one thing. And it´s working. The other thing is that Firebase Dynamic Links | Firebase Documentation An introduction to Firebase Dynamic Links, which are links that work the way you want, on multiple platforms, and whether or not your app is already installed. firebase.google.com which is the feature behind that what you are requesting here is deprecated now. Service shutdown next year.
DonManfred Expert Licensed User Longtime User May 27, 2024 #11 About deep links | App architecture | Android Developers This document differentiates between Android Deep Links and Android App Links, explaining how to bring users directly into app content from various sources, including the new Dynamic App Links feature in Android 15. developer.android.com This is maybe/probably what we have to use Upvote 0
About deep links | App architecture | Android Developers This document differentiates between Android Deep Links and Android App Links, explaining how to bring users directly into app content from various sources, including the new Dynamic App Links feature in Android 15. developer.android.com This is maybe/probably what we have to use
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #12 ilan said: how would the url look like? Click to expand... yoururl.com?contentid=20 Upvote 0
ilan Expert Licensed User Longtime User May 27, 2024 #13 Alexander Stolte said: yoururl.com Click to expand... here i should put the peckage url? Upvote 0
DonManfred Expert Licensed User Longtime User May 27, 2024 #14 ilan said: here i should put the peckage url? Click to expand... there is no PACKAGE-URL involved. Check the tutorial i linked. it must be set in the manifest. I never used applinks though. So i can´t really help. Upvote 0
ilan said: here i should put the peckage url? Click to expand... there is no PACKAGE-URL involved. Check the tutorial i linked. it must be set in the manifest. I never used applinks though. So i can´t really help.
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #15 ilan said: here i should put the peckage url? Click to expand... no. Your url of your public link of your backend. Upvote 0
ilan said: here i should put the peckage url? Click to expand... no. Your url of your public link of your backend.
ilan Expert Licensed User Longtime User May 27, 2024 #16 Alexander Stolte said: no. Your url of your public link of your backend. Click to expand... sorry i dont understand. what backend? Upvote 0
Alexander Stolte said: no. Your url of your public link of your backend. Click to expand... sorry i dont understand. what backend?
aeric Expert Licensed User Longtime User May 27, 2024 #17 ilan said: sorry i dont understand. what backend? Click to expand... A domain name if you have one. Upvote 0
ilan Expert Licensed User Longtime User May 27, 2024 #18 I want to share a link that will open a mobile app that is installed inside my phone. what has my domain to do with that? Sorry i dont follow up Upvote 0
I want to share a link that will open a mobile app that is installed inside my phone. what has my domain to do with that? Sorry i dont follow up
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #19 aeric said: A domain name if you have one. Click to expand... he should have, after all he wants to share a link from his app with dynamic content such as a video. Otherwise he would have formulated his question differently. Upvote 0
aeric said: A domain name if you have one. Click to expand... he should have, after all he wants to share a link from his app with dynamic content such as a video. Otherwise he would have formulated his question differently.
Alexander Stolte Expert Licensed User Longtime User May 27, 2024 #20 ilan said: like youtube url does. user share a video via url link. if someone clicks on it it opens the youtube app and load the video. Click to expand... Isn't that exactly what you want? Youtube creates a shared link e.g. shared.youtube.com?videoid=2839347394 Youtube has registered the URL scheme youtube.com in their app, now whenever someone opens a link with youtube.com, the youtube app opens and they then read the intent and load the video from their backend based on the videoid. Upvote 0
ilan said: like youtube url does. user share a video via url link. if someone clicks on it it opens the youtube app and load the video. Click to expand... Isn't that exactly what you want? Youtube creates a shared link e.g. shared.youtube.com?videoid=2839347394 Youtube has registered the URL scheme youtube.com in their app, now whenever someone opens a link with youtube.com, the youtube app opens and they then read the intent and load the video from their backend based on the videoid.