Android Question How I can get the url link opened in log app

wilferpal92

New Member
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:


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
 

wilferpal92

New Member
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.
Ok, i will check OkHttpUtils2, thank you so much
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…