Android Question How get webpage title ?

Hi Freinds

How get Webpage title with b4a and put it in string ?
you can get the html code of a website ( there should be many examples in the forum) to a string then use string. index of to find the code you are interested in and use substring2 to cut what you want out of it.
 
Upvote 0
Inject javascript and get the document title using javascript and then give the result to b4a using the javascriptinterface.
Search for webviewextra, javascriptinterface, inject javascript
 
Upvote 0
Back
Top