I'm trying to launch an Activity when clicking a link inside a WebView component.
My Webview is loaded inside Main.java
and I would like to launch SubActivity.java
when clicking a link inside the Website which is in Main.java
?
Also, how can I pass parameters to this activity?
Example: inspection://Project/1
"Inspection" is the name of my application, inspection
is the Activity I would like to launch and 1
is the ID I would like to have.