06-26-2011 04:15 PM
Is it possible to include PHP (or something similar) in my WebWorks app, that I'm able to post data to locally, without it needing to be sitting on a webserver in order to work-around these JS limitations?
06-26-2011 11:15 PM
No, but you can send data to your servers for processing.
But there is nothing preventing you from resizing images in your app, using workers. The big bummer is that we're still not able to save any files, 2 months after the PlayBook's launch
06-27-2011 01:04 AM
06-27-2011 08:24 AM - edited 06-27-2011 08:25 AM
Thanks for the reply guys,
I was able to resize my images using a Canvas, so that's all good. Serverside is not an option due to possible bandwidth usage.
Now it's all down to a way to save the data, which seems impossible.
When they announced FileIO api's I was pretty excited that I'd be able to finish up this app. I can't believe that fileSave isn't available, we need these tools if we're to make Super Apps.
I feel like I should just srap it all at this point and start learning a new language that's supported by the PB. I don't even see a mention of any additional FileIO api's on the Road Map.
I was also hoping their would be some sort file File Picker, that I see other apps using.
06-27-2011 02:41 PM
For a file picker API, you should be able to use an <input> of type file. This will open a file picker dialog like you would find in the browser.
06-27-2011 04:46 PM
I believe you will need to add the access_shared permissions to your config.xml file...
06-27-2011 04:54 PM