Tag Archives: QNS Applications

Working with webOS Enyo Web services in Google Chrome

The options described below are very useful for development, but equally dangerous. Enabling these options is a huge security risk and should not be used for normal browsing.

If you need these options enabled but still want to browse, please consider using Chromium as a development browser with these options.

I’ve been writing code for in HP’s new Enyo framework for webOS, and a constant issue has been that WebServices can only be run in the emulator.  Webservices are Enyo’s abstraction of XMLHttpRequest, basically.  One of Enyo’s biggest strengths is that it can be tested in any Webkit based browser, but when you get to the internet access portion of testing (usually the biggest part!) you have to move to the emulator.

Fortunately, there is a fix!  As noted above, do not leave this on by default as it is a huge security risk.  This disables the file access and same origin protections, allowing you to perform webservices calls in Chrome.

To do this, run Chrome with the following command line options:

--allow-file-access-from-files --disable-web-security

In windows, you can add these to a shortcut (after the quotes, if present) just be sure to make the double hyphens a single hyphen.  On OSX you can copy and paste the command line options above.  For OSX you’d want to use a script unless you want to run it from the command line each time.  If you’ll be spending a lot of time within Enyo, you may want to download Chromium and use that for development work.  Again, browsing with these options enabled is a significant security risk.

Thanks for reading!

Halo Stats

I haven’t had time to post about this, as I’ve been out of town, and otherwise busy.  But Halo Stats is now available in the Palm Application Catalog!  The latest update for it was pushed out yesterday as well, adding daily / weekly challenges and some extra player information.

Halo Stats has already received 40 reviews (almost all positive) and surpassed Quick Subnets in downloads.  The next update will have commendation information and a new interface, some of which is already written into the current version (0.5.4).  Also, Win/Loss ratios will be implemented, as it’s one of the top requests in reviews.

Expect the update sometime next week!  And thanks everyone who is downloading it!