0

How to get the URL from the Android browser?

Mudassir
  • 13,031
  • 8
  • 59
  • 87
fou
  • 711
  • 1
  • 6
  • 6

1 Answers1

1

Check this solution : How do I handle the browser's "share page" intent in android?.

Community
  • 1
  • 1
Ravi Vyas
  • 12,212
  • 6
  • 31
  • 47
  • i can't undersatand this solution – fou Mar 08 '11 at 14:35
  • You can not directly get the URL from the browser , the user needs to share feature to pass the data to your application – Ravi Vyas Mar 08 '11 at 16:37
  • I need that my application remains pending until the user enters the url. He clicks on the browser and at this moment I want to get the URL of the browser – fou Mar 10 '11 at 08:43
  • I am sorry I have no idea how to do this, why dont you just provide the user with an input field , and get the url from there, if the url needs to be opened you can just call it after taking note of the URL – Ravi Vyas Mar 10 '11 at 11:00