• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Android WebView not showing pages like Android Chrome browser

Hi, I am trying to make an Android application and I am using WebView in it. But the problem is WebvView not showing web pages like Android Chrome browser or other high-end browsers like Firefox or Edge. I am showing pages in desktop mode. Can someone please suggest the way to achieve this.
PicsArt_04-01-01.37.16.jpg
 
Last edited:
What do you mean by "desktop mode". Can you include a screenshot to explain the problem?
 
Webview doesn't do anything special in terms of formatting your web page, or optimising the layout for mobile device.

You have to explicitly create versions of your web pages, which are suitable for mobile device. Normally, a web site will have at least two sets of web pages, for either desktop browser, or mobile device.

And also, Webview is not Chrome. It's a built in Android framework component, and will likely lack some features provided by more sophisticated web browsers.

If you wish to simply display a web site in your app, then consider using the browser on the mobile device, and create mobile friendly web pages. No app involved.
 
Webview doesn't do anything special in terms of formatting your web page, or optimising the layout for mobile device.

You have to explicitly create versions of your web pages, which are suitable for mobile device. Normally, a web site will have at least two sets of web pages, for either desktop browser, or mobile device.

And also, Webview is not Chrome. It's a built in Android framework component, and will likely lack some features provided by more sophisticated web browsers.

If you wish to simply display a web site in your app, then consider using the browser on the mobile device, and create mobile friendly web pages. No app involved.
Thanks
 
Back
Top Bottom