W wilferpal92 New Member Dec 8, 2020 #1 Hi, Can u help me please? I have an B4A app with a button, the idea is that when i click on the button, the app will open a url with this code for example: Code 1: Dim i As Intent i.Initialize(i.ACTION_VIEW, "https://www.examplewebpage.com") StartActivity(i) And the web page will close automatically with a response in the URL like that: https://www.examplewebpage.com?id=1&rqr=456 Click to expand... And when the URL will close, I want to get the full URL path in a variable and print this in the log. Help me please
Hi, Can u help me please? I have an B4A app with a button, the idea is that when i click on the button, the app will open a url with this code for example: Code 1: Dim i As Intent i.Initialize(i.ACTION_VIEW, "https://www.examplewebpage.com") StartActivity(i) And the web page will close automatically with a response in the URL like that: https://www.examplewebpage.com?id=1&rqr=456 Click to expand... And when the URL will close, I want to get the full URL path in a variable and print this in the log. Help me please
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2020 #2 Not possible like this. You don't have any control over the third party app (the browser). I'm not exactly sure what you are trying to do but it seems like you should use WebView or OkHttpUtils2. Upvote 0
Not possible like this. You don't have any control over the third party app (the browser). I'm not exactly sure what you are trying to do but it seems like you should use WebView or OkHttpUtils2.
W wilferpal92 New Member Dec 9, 2020 #3 Erel said: Not possible like this. You don't have any control over the third party app (the browser). I'm not exactly sure what you are trying to do but it seems like you should use WebView or OkHttpUtils2. Click to expand... Ok, i will check OkHttpUtils2, thank you so much Upvote 0
Erel said: Not possible like this. You don't have any control over the third party app (the browser). I'm not exactly sure what you are trying to do but it seems like you should use WebView or OkHttpUtils2. Click to expand... Ok, i will check OkHttpUtils2, thank you so much