1

Sorry if this should already have been asked, but Google didn't give me anything of that sort.

I would like to extend the capabilities of an in-app browser of mine to handle also links from other apps, so I guess I would need to handle Action_View intents. But after having searched it, I didn't find any ways of getting the URL of such an intent nor any other information on how to procede.

Might anyone help me here? Thank you!

Florent Anders
  • 630
  • 2
  • 7
  • 25
  • Did you tried this - http://stackoverflow.com/questions/525063/android-respond-to-url-in-intent – Rahul Apr 06 '17 at 18:23
  • @Rasi No, what I would like to do is that other apps can open which ever web site in the app, making it a web browser for all apps:) – Florent Anders Apr 06 '17 at 18:25
  • you can't force any App to get open in your App, but with the help of intent filters you can make your App eligible to handle Urls. – Rahul Apr 06 '17 at 18:26
  • @Rasi I don't want to force any apps. I would like to make it eligible. Could you show me how?:) – Florent Anders Apr 06 '17 at 18:28
  • Check this - http://stackoverflow.com/questions/2958701/launch-custom-android-application-from-android-browser – Rahul Apr 06 '17 at 18:30

1 Answers1

1

This combined with code of the Lightning browser in the Android manifest found my solution. Thanks!

Intercepting links from the browser to open my Android app

Community
  • 1
  • 1
Florent Anders
  • 630
  • 2
  • 7
  • 25