I'm trying to run a Web Audio API demo using a nightly build of WebKit on Windows.
The demo won't run, and the console throws an error (ReferenceError: Can't find variable: webkitAudioContext).
Does anyone know if it's currently possible to use the Web Audio API with WebKit nightly builds on windows? If so, what steps do I need to take to make the demos run? Do I need to set an environment variable, or pass a command line argument to the executable or something?
Any advice would be greatly appreciated.
I think the answer to this question at the moment is "no". It seems that Chrome is the only browser at the moment that supports the Web Audio API on Windows. Safari/WebKit for Windows doesn't support it yet.
Related
Is possible to replace chromium with firefox inside an electron app?
I've done some researches and I was not able to found anything that use firefox to run cross platform desktop applications. If this is possible can anyone share the relative information please?
The only project I've found this old and not mantained from mozilla.
If this is not possible, is there any way to create a custom build of mozilla that integrate node.js? I want to experimet the electron flow that will open a browser window but in a simpler way. I'm reading the mozilla doc, but it's not clear if I can implement external library inside the build and no updated info about custom build creation is found online.
No, you cannot replace chromium inside Electron because the entirety of how Electron works is using chromium.
As far as if you could do something yourself - I'd say just use Electron. Chromium isn't that bad, although it is resource intensive.
I’m developing with MGWT 2.0.1 for iOS and Android platforms.
I need to debug my application on Cordova emulators and I read the article http://blog.daniel-kurka.de/2012/07/mgwt-super-dev-mode.html?m=1 for using Super Dev Mode with MGWT. I followed all instructions until the end of the article, so I can view the choice “Super Dev Mode: On” that you display as the latest image.
Now, how can I insert a breakpoint on app client-side and track the execution on Java source code?
To complete my question, I report you that I connected a Cordova-Android emulator with the remote debugger in Developer Chrome Tools.
I uploaded two snapshots here to explain better my situation: I cannot see Java sources:
https://drive.google.com/folderview?id=0ByBoszEV6J7rfnlZX29JTFFvUVkwLVNtZlBSalZqSHhJQVVZNThfem5FNVJPcGprV3g1enM&usp=sharing
How can I solve this issue?
Thank you very much,
best regards,
Dario
The blog post you linked is a bit outdated, maybe the mgwt wiki is more helpful.
As for the Java sources, the tricky bit on Android is when you try to load the source maps. If you try to load them from localhost, this will be interpreted as the Android emulator's localhost (which is 10.0.2.2). You can check if this is happening in the network tab.
Can you provide more information, which GWT version are you using? 2.7.0? What value did you give the -bindAddress parameter?
I would like to create a Windows desktop app using HTML5 features, specifically H.264 video,Web SQL Database,FileReader API. I don't want to use AIR (which currently does not support the video tag, instead uses Flash). Ideally I would like an exe file that just wraps the latest version of webkit in a basic window. It should be stand alone, not rely on the user having Chrome etc. installed. It could load an index.html file in the same directory as the exe. That is it.
I have been unable to find anything like this. I was going to build it myself using QTWebkit but the latest version (4.8.0) does not support the Video tag due to some kind of build issue. I assume the 4.8.1 version will fix this.
Does anyone out there know of something like this that is available now?
For anyone coming across this, Titanium for desktop is no longer supported by Appcelerator, but the project is still supported as an open source initiative. As of today (10/14/2012), it is called TideSDK. According to their Twitter account, they're behind in the 1.3 release due to some sponsored work that will end up in the code base.
Additional options not yet mentioned include AppJS (OSS, requires node.js) and Sencha Desktop Packager (quite pricey).
I think titanium is not totally gone. There is this stuff called tideSdk
I couldn't try it out yet also , so video support and the codec are open for your exploration. Here is how they say:
Create multi-platform desktop apps with HTML5, CSS3 and JavaScript
TideSDK is the new standard for creating beautiful and unique desktop
apps using your web development skills.
I recently thought about doing the same thing, you can still do it with air without using flash, but you could also use Chrome Packaged apps, mozilla prism (although inactive today) or Microsoft HTA (html application).
You can think of using a framework that does the browser embedding for you like Titanium. It's mostly used for creating apps that can be published to iphone, android, and windows devices. It will create a windows MSI install.
Another option is to use the CEF project ( Chromium Embedded Framework for C/C++). I havn't looked at it much, so I can't tell you how difficult/easy it is to work with. Their main site also has wrappers for Java, .NET, and other languages.
I am a web developer. I don't know how to build native Windows applications. I recently built a Mac desktop application (using MacRuby) which is a WebKit wrapper around one of my web applications. I'd like to do the same thing for Windows (preferably in Ruby, but whatever is easiest).
Since this is not the core of the application, I'd rather not spend a lot of time trying to build and maintain it. I just need a Windows application that can:
Open a specific website on application launch using an embedded WebKit WebView
Trigger Growl notifications via JavaScript (with some sort of named bridge)
What is the easiest, fastest, cleanest way to do this?
Update: So far I've come across some frameworks like Qt and Awesomium. I don't know how these frameworks compare to other options available, so if you have any opinions or advice, I would appreciate it.
Check out http://appjs.org/ it's built with NodeJS at its core! And it uses chromium webkit at it's core :D
Well, this is a very old question, but if you are still interested...
I'd recommend Qt. There are some very good books available with a lot of boilerplate code and wizard-type tools. You will be able to find example code demonstrating the embedded Webkit that you can modify to suit your needs. It is free and redistribution is free (last I knew). You won't have to know anything about native Windows development, nor even use any native Windows dev tools.
Good luck!
I want to compile a portable version of Firefox 3 on a low cost Intel Celeron Windows Xp machine to run as a kiosk computer. So i just want the browsing functionality since i'll be running it on the fullscreen mode. What are the steps to do a minimal rebuild from the sources?
Also what is firefox's command line parameters to open a site from the cmd?
A "Stripped down minimal build" doesn't really make any sense. You can't really exclude any functionality that would make it run faster or be any smaller, since most of the code that Firefox needs to render webpages is the same code that it uses to render its user interface. Forget about trying to "strip down" the code.
That being said, it sounds like you probably want to use XULRunner, which will let you use all the web browsing functionality of Firefox, but wrap it in your own GUI. You can find an ultra-minimalist browser XUL application here:
http://benjamin.smedbergs.us/xulrunner/mybrowser-0.2.2.xulapp
There is a Kiosk mode addon (more for a lock-down) for Firefox.
You may be in general interested in this other question here:
How to lock down Windows XP for use as an internet kiosk?
Here is a gHacks reference for custom builds.
and, a Prism reference.
http://webconverger.com/ provides a minimalistic OS build featuring Firefox. There is also build instructions if you want to build your own customised images.