Enable WebGL Browser HTML5 Applciation WP8? - html

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

Related

Scanning for beacons on iOS thru' web browser

Is there any way to make a web page scan for beacons on iOS ? I know that no iOS web browser supports Web Bluetooth at the present. I even could not find any information about if Chrome team is planning to add support for Web Bluetooth for Chrome on iOS.
Is there any other way to scan for the beacons on iOS thru' web browsers (be it Safari or Chrome) ?
Thanks
Unfortunately, Google can't add Web Bluetooth to Chrome for iOS without Apple's participation, and Apple has given no indication that they are supporting the Web Bluetooth project.
Understand that Apple restricts web browsers on iOS to use Safari or Safari web views, which has the same JavaScript engine and bindings as Safari. Google Chrome for iOS is required to use the same internal rendering and JavaScript engine as Safari, which simply does not support Web Bluetooth.
Bottom line: While it is possible that Apple will one day decide to join the Web Bluetooth party, there can be no support on third party iOS browsers until Apple decides to do so.

How to enable WebVR on Google Chrome?

I am trying to create a WebVR scene. For this task, I want to enable WebVR on Google Chrome. My OS is Windows 8.
I open flags using chrome://flags/. WebVR is not there. How can I enable it?
Official channels of Google Chrome do not support WebVR. (now they do, see below)
There is an unofficial build of chrome that does. FYI Firefox Nightly also supports WebVR in their official and current release, as does Samsung Internet Beta for GearVR (the latter after some configuration).
UPDATE: Chrome Android now works with WebVR if you enable chrome://flags/#enable-webvr. See this manual on how to enable WebVR on different browsers.
You can install Google Chrome extension for WebVR debugging
It can really help to debug your VR application.
You will be able change the position of the virtual device in the environment, to see the change of camera position.
Also, it is possible to emulate the HTC Vive controllers.
Alternative is to use WebVR polyfill
It adds WebVR-API to your browser.
Currently you can test your sample webVR code on the following browsers :
Google Chromium
Firefox Nightly
Samsung browser for webVR
Google Chrome version 54.0 onwards was expected to support webVR, but it seems we have to wait a little more.
If you are not very comfortable with ThreeJS library for VR projects, you should try aframe framework ( check http://aframe.io ). Here you will focus only on the VR code flow and all other graphics related overheads (camera, rendering etc) will be taken care by aframe itself.
Do you still need this special Chromium build?
In latest Chrome #58 it seems the feature is available within chrome://flags now
WebVR Mac, Windows, Linux, Chrome OS, Android Enabling this option
allows web applications to access experimental Virtual Reality APIs.
#enable-webvr
Didnt try it out yet though (dont want to break my productive browser)
Greetz

StageWebView - Change system browser

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:

Can a HTML5 web application access the camera on a Windows 7 tablet

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.

Do sencha supports Windows Phone?

I am new to HTML5 Application Development.I am used to Windows Phone App Development.Is WindowsPhone supporting Sencha Touch Framework .And I have seen that Phonegap plugin in Visual Studio 2010 for Developing HTML5 Applications.But I cant find any plugin for Sencha in Visual Studio.And I am confusion which framework to choose for development.Your suggestions are welcome.Thanks in advance
Sencha Touch 2.2 will now support IE10 on Windows 8 Phone and Desktop ...
http://www.sencha.com/blog/sencha-touch-with-windows-phone-8/
No, Sencha does not currently support Windows Phone development. From http://www.sencha.com/products/touch:
"Sencha Touch is a cross-platform framework aimed at next generation, touch enabled, devices.
It's currently compatible with Apple iOS 3+, Android 2.1+, and BlackBerry 6+ devices."
See also http://www.sencha.com/forum/showthread.php?177329-Windows-phone-amp-Sencha:
"Windows Phone looks exciting, we aim to support it in a future release. Not sure on timing yet..."