I'm working on a project that needs to manage requests(html/javascript) and many more other things. I Used Chromiumembedded for windows. Now I need something like that for android.
I've searched about android programming and spent some time on Phonegap. As I know it opens a webview and have some javascript API for some device features like camera. So Phonegap is not going to help me.
I wonder if there is any way to embed Chrome or any other browser that can be embedded in an android app?
As the other answers say, WebView is the solution.
Android System WebView is a system component that lets Android apps display web content inside them without opening a dedicated browser. In other words, Android System WebView is a web browser engine or an embedded web browser dedicated solely for apps to show web content.
Alternatives to WebView If you want to send users to a mobile site, build a progressive web app (PWA). If you want to display third-party web content, send an intent to installed web browsers. If you want to avoid leaving your app to open the browser, or if you want to customize the browser's UI, use Custom Tabs.
Android has a WebView component that is basically a browser. You can place it anywhere in your application and you can enable JavaScript that is disabled by default. Supports HTML 5. I use it in production and fully recommend.
Unfortunately the 3.x versions have a bug not supporting string query that may be present inside URLs of some pages. In the bug website this issue shows as closed and fixed. I was even not aware about it as we use 4.1.0 for everything. The bug is already fixed with that release. For earlier versions, some workarounds are available here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With