Xamarin.Android service to read current url

Yongqing Huang 241 Reputation points
2022-01-17T10:54:41.867+00:00

Hi,

I would like to develop an Xamarin Android service to read current URL in the default browser (Chrome, Firefox,...)

Could you give me an advice hoe to do it? I could find any document about it.

Thanks in advance.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
0 comments No comments
{count} votes

Accepted answer
  1. JarvanZhang 23,936 Reputation points
    2022-01-18T05:40:45.263+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    I would like to develop an Xamarin Android service to read current URL in the default browser

    Hi, YongqingHuang-5964. To protect the privacy of the users, this is not available. Android doesn't provide an API that coud access data from Chrome, Firefox or another web browser of the device on Android devices.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful