Running StageWebView on a Windows Desktop machine, uses IE as it's browser, no matter what is the systems default Internet Browser. Is it possible to change this to Chrome?
I'm not interested in the built in Webkit browser in AIR
Sorry but the answer is no, the StageWebView class on mobile or desktop uses the OS provided web control to display content on the Stage:
On desktop computers (in the desktop and extended desktop profiles),
the StageWebView class uses the system web control provided by the
Flash Player plugin.
Thus on Windows that would be Internet Explorer (IE) via the IWebBrowser2 interface which Google's Chrome does not support.
Note: This is assuming you are passing true for the useNative parameter on the StageWebView constructor, otherwise the on Windows/OS-X you would get the old built-in Webkit version. This can be checked by seeing which user-agent is used (try http://whatsmyuseragent.com or similar to verify)
Air 18 (or 19 beta results in same rendering) on Windows and OS-X:
Related
I use the Chrome in my laptop with Windows 7 OS, and the Chrome on Windows provides a Device Mode(shortcut is F12) so that it can simulate a specific mobile device to get and display a Web page in a Chrome tab as follow.
However, such Device Mode is only limited on a single Chrome tab, so when you close the tab and open a new one, the new tab get and show the web page as normal, not as in the Device Mode.
So my question is How to set the Device Mode permanently, and when I open a new tab in the Chrome, it runs on Device Mode by default. Is there any method or plug-in can help me to achieve it?
I believe that this is not applicable as Google created that mode for inspection purposes only not for navigating or viewing.
So you will need a smartphone simulator like the one which is provided by Android SDK or the IOS simulator which comes with XCODE on mac, or you can use a real smartphone of course, and you can inspect on it via your PC using ADOBE Edge Inspect extension on chrome.
Chrome inspector mode is designed with testing in mind, and isn't intended for regular browser use. You might try a device simulator tool, like what's included in Xcode or Eclipse IDE.
Hope this helps.
I think this is something what you are looking for
Google chrome plugin
You can open devtool automatically with chrome switches, so i suppose that you can reach your goal with the correct one... our only problem is that chrome's switches are thousands... that's the documentation, good reading :D (unofficial documentation here)
It appears Firefox OS has a way to turn a device's camera flash on and off.
Is there a way to turn the camera flash of a phone on or off in a standards-compliant way from within web browsers running on the phone? E.g. within Chrome on Android/iOS, Safari on iOS, etc.?
It appears you can read the capabilities but not manually set them.
Asking to see if it's possible to build a mobile webapp that works like a flashlight.
I'm now using Nexus 7 for my project which is using Server-Sent Events to get alert message.
On Nexus 7 Chrome browser, it works well.
But when I load the same page using webview, it does not work (saying "your browser does not support server-sent events...").
The source codes are exactly the same as [http://www.w3schools.com/html/html5_serversentevents.asp].
I think there maybe some difference between Chrome browser and Android Webview.
Could some one tell me how to make it work using Android Webview?
I think WebChromeClient is the one you need anyway. I am using both WebViewClient AND WebChromeClient because the latter one is full HTML5 enabled.
So in your Android WebView you can use BOTH Clients at the same time.
For instance
// clients
webView.setWebViewClient(new CustomWebViewClient(this));
webView.setWebChromeClient(new CustomWebChromeClient(this));
I use WebChromeClient for all the fancy stuff, like Javascript popups and yes, SSE using PHP scripts.
I am developing HTML5 games for mobile devices and am having problems with drawing without WebGL enabled. When I enable WebGL my problems are fixed but on Windows Phone 8 is it possible to enable this as a developer using the HTML5 WP8 template?
WebGL is not supported by IE10 mobile (or desktop for that matter).
If you already installed the latest Windows Phone 8.1 update, the built-in IE11 now supports WebGL.
http://www.wpcentral.com/windows-phone-81-features
I have a HTML/Javascript web application which integrates with a device's camera using PhoneGap.
Is there any way we can run the application on a Windows 7 tablet (e.g. as a normal website) and be able to integrate with the camera on the device.
You will be, eventually, when the getUserMedia API is implemented in more browsers (currently only available in Opera and special builds of other browsers), but at the moment, no.
I don't believe there is a way to do this.
We enabled photos to be dragged into the application to support this feature. It means the user takes a photo as dictated by the tablet and then has to drag/select the appropriate photo file to add to the application.