Question

I'm an Android newbie, in the planning stages of a project that involves android. I'm considering augmenting an android app with a button on a menu page linking to an HTML5 page, which leads to a sequence of pages, and ideally returning to the android app's menu page, via a button on the last page. I'd create an intent filter in my app to intercept a URL request and show the app instead. Is there a better way?

Was it helpful?

Solution

If you load the web page in a WebView in your app, you could inject a js interface and interact directly with your java code through it. Otherwise, yes, a custom url scheme and an Intent filter would probably be the best way to go around it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top