{ var winH = $(window).height(); var winW = $(window).width(); }   I m printing the winH and winW its giving incorrect values in the Blackberry simulator and on the real device also (BB 9800)  Solution :  In blackberry widgets, Getting window width a...
How do I get the BlackBerry OS version via javascript or jquery in a Webworks app?  I tried the following code from a thread "detect blackberry os version" but it isn't working for me:  var limit = '4.5.0.127'; var version = /Blac...
I have completed web-works software setup like "blackberry Web-works 2.2.0.15" and "blackberry 10 device simulator BB10_3_1.995".  when I launch my application on BlackBerry emulator it keeps showing me Access to (some link) not allow...
I am using blackberry webworks SDK 2.3.1.5 and apache-ant 1.8.4 for running my blackberry simulator 9790.I am getting cordova error in  tag..cordova doesn't get supported.can any one suggest the answer?   The following error was thrown:  Microsof...
The format the function receives the two dates is: YYYY/MM/DDTHH:MM  Year/month/dayThour:minutes  encase its unclear     function compareDates(start, end) {     console.log("Start: " + start);     console.log("END : " + end);      var...
Ive wrote a simple function shown below..  function handleKeyPress(showEvent,formItem) {   if(showEvent == null){} else if(showEvent.keyCode == 13) {     var feildID = formItem.id;     var pid=formItem.parentNode.id;      var index = enterKeyForm[pid...
I am developing a Blackberry app using Phonegap. In this how can I disable landscape mode and allow only portrait mode?...
I am trying to create a webworks app and trying to use jquery to post to a REST api -   I get the following error   "Origin null is not allowed by Access-Control-Allow-Origin"  The javascript tries to post to a rest api using jquery  I am get...
I have this BB10 app that will check for empty value fields, then alert the user regarding the empty field and once the user has click on 'OK' focus will be place in the text box. I can place focus in the text box but I could not type anythin...
I've included Jquery & Jquery mobiles latest versions.  I'm  basically trying to use a mobile button to call a JavaScript function but having issues.      This works fine in chrome but not in webworks on the playbook (this is where i get...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.