I would like to know Is it possible for me as an android developer to know if the browser app is currently open, and if it is, what page is being viewed? (URL?)
If so, how would I go about doing this? If not, I would also love to know so I wouldn't search anymore.
Thanks, Omri.
I don't know, is it possible or not, to know if the browser app is currently open.
But, yes, you can get the page that is viewed. That is all the pages searched, browsed or bookmarked. And then, using that url, you can get the page.
Luckily I have done an application to parse html of page in browser.
The code to get the url of last page viewed in browser is:
Url is what you needed.
No, that is not possible -- it would be a privacy violation.