10-21-2012 11:19 PM
After more research I've determined that I'm not the only one who's found
the install sequence for the WebWorks Tablet tools to be a bit troublesome.
After a couple of attempts I got it all installed and running from remote servers
and a localhost on this Win 7 64-bit box.
Here's how I did it:
1. Download and extract the Adobe AIR SDK
Note: Keep a note of the extraction folder for Adobe AIR, it's required in the WebWorks SDK install in Step 2.
I extracted to: 'C:\Adobe Air'
2. Download and install the WebWorks Tablet SDK
Default install folder is: 'C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 18.104.22.168'
3. Download and install the Ripple Emulator extension in Google Chrome
OK, this all went well. I can open examples with Ripple from remote Web sites,
but not my local example files. Now if you look at the Ripple 'Mission Control'
window it says...
"The services will give you the ability to build, sign, and deploy your
BlackBerry WebWorks application as well as provide you with a local web
server on port 9910."
Well, the 'localhost:9910' address can not be found by Chrome.
This is a common problem it appears, but can be quickly remedied by
installing a 'real' Web server on your machine. I chose Apache.
4. Download and install Apache Web server
Download Apache here:
I installed Apache to: 'C:\Apache2.2'
Here's a great step-by-step on installing Apache on Win 7:
That was easy.
Now I just copied the 'kitchenSink' example folder to:
Now I opened the kitchenSink example in Chrome:
and then start Ripple and 'Bob's Your Uncle!'
Now the 'real' fun begins!
10-22-2012 08:47 AM
FYI: For Ripple, you can set the flag " --allow-file-access-from-files " in your chrome.exe shortcut, and it'll allow access to local files without the need for any sort of web server, or localhost.
10-22-2012 10:25 AM
Thanks for that. Would definitely save the on installing the Web server. In my case, I was going to set up PHP/MySQL on this box anyway.
Here's a little side note regarding the ' --allow-file-access-from-files ' command-line switch
The --disable-web-security and --allow-file-access-from-files command-line switches
impair the browser security (especially the --disable-web-security key).
Be aware that you may open yourself to some vulnerabilities if using the same browser
for a regular web surfing. You may want to create a separate browser profile / shortcut
used just for local development to be safe.