blackberry-webworks

Packaging a BlackBerry (WebWorks) PhoneGap/Cordova application

拟墨画扇 提交于 2019-12-11 08:11:19
问题 I'm working with PhoneGap/Cordova and the only options I see is to build to the emulator or to build for debuging to the device. I want to package the app for further distribution and publishing. Any thoughts? Thanks!! 回答1: First build with ant blackberry build Then, you need to get and install signing keys: https://developer.blackberry.com/html5/documentation/signing_setup_smartphone_apps_1920010_11.html Then finally, once you are able to code sign you need to use bbwp to sign and package

Check BlackBerry OS version

浪尽此生 提交于 2019-12-11 06:57:40
问题 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 = /BlackBerry\w+\/([\d\.]+)/i.exec(navigator.userAgent); if (version[1] && version[1] < limit) { location.href='notcompatible.cfm'; } 回答1: based on this document... http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-detect-the-BlackBerry-Browser/ta-p

jQuery <select> Changes Another <select>

本秂侑毒 提交于 2019-12-10 22:06:58
问题 I am using trying to use jQuery .change() to create two <select> elements whereby the first <select id="state"> is for generating a list of states and the second <select id="city"> is to generate a list of cities. The values of states and cities will not be hard-coded but generated from values pass from web services. The list of options to be generated is supposed to work like this: if user selects state from <select id="state"> the selected value will be pass to a web service to retrieve the

Where to get BlackBerry CSK File for PhoneGap?

本小妞迷上赌 提交于 2019-12-10 19:43:26
问题 I want to use PhoneGap to sign my BlackBerry App. When I go to add the key files it asks for a CSK file. I went to https://www.blackberry.com/SignedKeys/ and requested keys. However the files sent to me were 3 different CSI files(RBB, RCR, RRT). How and where can I get the CSK and DB file needed to sign apps on PhoneGap? 回答1: First you need to install the blackberry SDK (as part of Eclipse if you're using this IDE, otherwise get the standalone java one). Then follow these steps. Basically

IBM Worklight 6.0 - “WebWorks SDK source file was not found” error

…衆ロ難τιáo~ 提交于 2019-12-10 12:17:28
问题 I am using Worklight 6 on Mac OS, and I installed WebWorks SDK 2.3.1.5. I have got some issues with WEBWORKS_HOME environment variable, that I fixed after reading IBM Worklight - Mac - "'WEBWORKS_HOME' environment variable is undefined" Now I am having the error WebWorks SDK source file was not found. Make sure to set it in application-decsriptor.xml: Replace it with path to WebWorks SDK When I try to build the Blackberry app. When I check my application descriptor, I only see <blackberry10

window.plugins undefined in cordova-2.0.0 [closed]

Deadly 提交于 2019-12-10 01:50:13
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I'm trying to use the BarcodeScanner plugin for Cordova in a BlackBerry device without luck. The sample code makes use of this structure: window.plugins

AJAX XML not working on BlackBerry with Web-Works or Phonegap

我怕爱的太早我们不能终老 提交于 2019-12-09 06:35:09
问题 I've built an application which loads statistics from an external xml file on the web. It works fine in the web browser. It also works fine when I package it with PhoneGap for Android. Works on BlackBerry Playbook as well. However it doesn't work when I package it for BlackBerry. I have tried both WebWorks Command Line Tool and PhoneGap. When I Package with WebWorks and Run on Simulator The console on Web Inspector gives me the error " Failed to load resource: the server responded with a

WebWorks: Open Web Browser?

混江龙づ霸主 提交于 2019-12-08 07:44:40
问题 How do I open a web browser from a Blackberry Webworks 2.0 application? I tried: http://www.blackberry.com/developers/docs/webworks/api/blackberry.invoke.BrowserArguments.html but that doesn't want to work. Thanks 回答1: I'll answer with one of my own working config files and a <script> section <?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0"> <name>Webworks</name> <author>De Wet Steynberg<

Blackberry 10 Webworks SDK command line generate build with package and signing

邮差的信 提交于 2019-12-08 03:13:09
问题 So I already was able to build the .bar file, but now I want to build the .bar file to be sent to the store with the package and signing. So far I've tried this. bbwp C:\xampp\htdocs\maddash\packaged\maddash.zip -g (password) -b 1.0.0 -o C:\xampp\htdocs\maddash\packaged\ and my error is.. failed to find signing key file 回答1: Did you register your keys from RIM and put them in the default location (%HOMEPATH%\Local Settings\Application Data\Research In Motion for Windows) Did you update your

Make my jQuery Ajax script use CORS

℡╲_俬逩灬. 提交于 2019-12-08 01:38:30
问题 I built an application which reads data via AJAX from an external website. It works fine but I found out in another question that if I want to package it for BlackBerry 7, with Webworks or Phonegap, I may need to use something called CORS. How can I convert my following script to do the same thing except using 'CORS'? <script type="text/javascript"> $("#page_all").live('pagebeforecreate', function() { $.get('http://mysite.com/mobile/data/data_all.php',function(data){ $('.content').empty(); $