0

I need to know if there is a posibility of run an intent after click a hyperlink inside a webview.

The flow will be the next:

  1. Activity with a WebView
  2. A oauth registration web is loaded inside the webview
  3. When you have registered the web redirect you to another web which says "Ok, you are registered now"

I want to know if there is something to load another activity when the webview charges this second web saying "Ok, you are registered now".

I read the next post handling links in a webview, but I think that this is not the same problem, because it is done in the first web that is loaded in the webview.

Community
  • 1
  • 1
Víctor Martín
  • 3,352
  • 7
  • 48
  • 94

1 Answers1

2

But you can catch:

if(url.startsWith("your second url")){
mromer
  • 1,867
  • 1
  • 13
  • 18