05-14-2012 09:00 AM
I still can not overcome the Ripple on emulating my codes
<script> blackberry.ui.dialog.dateTimeAsync(....... .... ....) </script>
It got the error on Ripple that looks no blackberry libary support:
Exception in dateTimeAsync: ReferenceError: Can't find variable: blackberry
Exception in dateTimeAsync: TypeError: 'undefined' is not a function (evaluating 'blackberry.ui.dialog.dataTimeAsync("date&quo
t;, opts, window.onDateTimeSelected)')
However, I built and signed the code, and migrated to my BB phone by BB Desktop Manager - nothing error at all on my phone.
Please instruct me, how to fix the Ripple?
Thanks a lot!
05-18-2012 06:00 AM
I believe this got updated in the API but not added in Ripple. There was another post recently about customAskAsync and standardAskAysnc not working in Ripple either.
There is an issue open for it (https://github.com/blackberry/Ripple-UI/issues/333
05-18-2012 10:50 AM
11-26-2012 12:21 PM
I'm developing a WebWorks app for bb7.
When I try to use dateTimeAsync(...) on Ripple I have this error:
Object [object Object] has no method 'dateTimeAsync'
On device (9860 with 184.108.40.2063) it's the same.
I am using bbUI and in index.html I need to import webworksXXX.js to have 'webworksready' event. Now the imported js is the one provided for BB10 (webworks-220.127.116.11.js), because I haven't found the file for BB7 (18.104.22.168).
I have also tried to comment imports and directly load a simple page, but with no luck...
So, is there a js file to import for BB7 or no file must be imported at all?
Or what is wrong in my case?
I can provide code fragments if it can help...