WebView for Mobile

22 views
Skip to first unread message

Wendell Malpas

unread,
Jun 20, 2015, 12:07:02 PM6/20/15
to chromi...@chromium.org
Hi,

I have developed a chrome application with WebView that loads a web application hosted on our server that displays a map (i'm using Google Maps API) showing thousands of pushpins based from the coordinates stored on our database. The application will be running full screen in kiosk mode when accessed through a computer (Windows, Max, Linux) which is running fine. However, we wanted the application to run on a mobile device as well but as I have tried it on my Samsung tablet which has Kitkat 4.4.2 android version, I notice that webview is NOT working at all when deployed on the device.

I am using Chrome Editor to deploy the chrome application to the Chrome ADT running on my tablet. Is there a way for our chrome application to work on a mobile device given the scenario? 


Thanks,
Wendell

Ian Clelland

unread,
Jul 2, 2015, 11:23:43 AM7/2/15
to Wendell Malpas, Chromium Apps
Hi Wendel,

Unfortunately, Chrome apps on mobile don't support the <webview> tag, and we don't have any current plans to implement that.

Depending on what you're doing with the WebView, you may be able to detect that your application is running on mobile, and do something appropriate. Often the right thing to do is to use a Cordova API such as the In-App-Browser to overlay a second window on top of your main app. In other cases, it's to use an <iframe> for the additional content.

Ian

--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Wendell

unread,
Jul 4, 2015, 10:20:36 PM7/4/15
to chromi...@chromium.org, icle...@chromium.org
Thank you Ian for the response. Yeah I read it already from the API and Libraries page of mobile chrome app under APIs Coming in the Long Term in where webview is listed. 


Basically what I wanted to do is just simply display a Google Map and show 12,000+ markers in it. I'll have a look at Cordova API using in-app browser just in case.

Thanks,
Wendell
Reply all
Reply to author
Forward
0 new messages