05-23-2011 12:52 PM
Neil, I saw the KB article to get the geo coordintates in the playbook.
I have one quick question .
1. Does Playbook web works supports javascript extension jar?
2. if not , Please tell me is there any way to post the http apart from jquery or XMLHttpRequest?
3. The problem which i am facing i have to do some encryption/deryption of my server request so i would prefer using jar (java script extension) instead of using java script library
05-24-2011 10:09 AM
The PlayBook does not support Java and therefore doesn't support JavaScript extensions written in Java. It "can" be extended using ActionScript but we haven't really documented that area yet as we are still undergoing changes that would affect extensions.
05-26-2011 10:33 AM
Hi Tneil,
It will be helpful if you can provide some clue on extending using Action Script. We understand that this may change in future, But it will help us to workaround some of the current limitation of webworks API, such as take-a-picture.
05-26-2011 12:02 PM
Currently, the best way would be to look at one of our existing APIs to copy the way that they do it. The source code for the APIs is in the WebWorks SDK install directory bbwp\ext directory.
A good one to look at would be BlackBerry_System. You will need to create the JavaScript portion of the API and the ActionScript portion of the API.
You will see how we are actually layering ontop of AJAX to make our API calls.
Essentially create your own directory in this ext folder that has the same structure as one of the existing APIs and it should work.
05-27-2011 01:02 AM
Thanks Neils. I will try this.
06-02-2011 11:17 AM
Are there any plans to enable webworks apps to just use the standard HTML5 geolocation capabilities?
My GPS code works fine in the browswer but once I deploy it to the tablet it no longer works; I suspect I need to add this to my blackberry-tablet.xml:
<permission>read_geolocation</permission>
But this is autogenerated for webworks applications. Is there an analog I can add to the config.xml to achieve the same thing?
Thanks,
--rth
06-02-2011 11:47 AM
It is coming as part of the mid-June Delta release of the WebWorks SDK for Tablet OS