I have a blackberry 10 webworks application by following this link ("https://developer.blackberry.com/htm...llo_world.html") . This application works fine and I have signed this app from command prompt using this command "blackberry-signer -storepass xxx path_to_bar file" and the application is signed successfully.
I got this message in Command line as " Info: bar signed"
But when I tried to verify my bar file by unzipping it i found an additional manifest.bbr file. when I package another blackberry 10 sample application in QNX momentics IDE , there is no such manifest.bbr file. Its getting signed perfectly.
Now, all I want is to port my Blackberry 10 webworks app from RippleSites folder to QNX momentics IDE and I want to sign the app from that IDE to get it signed perfectly.
How can I do this? can anyone help me on this?
If you've signed the app successfully via WebWorks then you're good to go. No need to question the "bar signed" output from the signer.
If you want to port your BlackBerry 10 app from web to native then you'll need to rewrite it using QML and possibly C++ depending on what features and/or APIs you're making use of.
Related
I'm trying to build a BlackBerry app, from and Android project using the Eclipse plugin for BlackBerry. I got the BAR file compiled and signed, not I'm trying to figure out how to install it on the BlackBerry 10 Device Simulator. This simulator is run with VMware player. How do I install the BAR file into the virtual simulator?
I tried downloading it with Simulator's browser from my testing website, and clicking the APK or BAR file from the 'downloads' screen brings up an error message "Unable to open the file."
I hope this will hep You
https://developer.blackberry.com/android/documentation/deploy_signed_file_1985504_11.html
Another way is :
blackberry-deploy -installApp -device <deviceIP> -package <BAR file path>
-password <device password>
You need an additional tool like the BlackBerry Native SDK. This will include the blackberry-deploy tool which you can use to install your app on the simulator.
https://developer.blackberry.com/native/download/
I have packaged my application successfully using ripple with chrome.
What process i have to follow to deploy my app to my blackberry device for testing purpose?
There are several ways.
You can try using the BlackBerry Desktop Manager software which should allow you application syncing.
You can use the JavaLoader commandline tool, provided by BlackBerry.
Personally, I use JavaLoader.
It is a simple one-liner in CMD: javaloader load path-to-cod-file
The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example)
Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.
I have port an Android application to BlackBerry using Android Runtime. I can install that application successfully using Eclipse. Now I want to put those deploy files (MyApp.bar) in to a remote server and download the .bar file using a browser and install it to another BlackBerry 10 Dev Alpha device. I was able to download but unable to install the .bar file. What should I do?
I believe that you are looking for an app or tool that you can run from a BB10 device itself to install the .bar file, after you've already downloaded it. There used to be a tool like this for the Playbook, but it seems to be no longer maintained and Blackberry (RIM) have blocked the method this app used to perform the install in newer version of the Playbook OS (and presumably BB10 as well).
A solution which has been reported to work by some in the Blackberry Developer forums is the Playbook App Manager as a Firefox or Chrome plugin. You can use this plugin from the browser on your PC to push the .bar to your other Blackberry 10 Dev Alpha device over the network.
If that doesn't work, that leaves you only with external tools that you already know work like the Eclipse plugin, and you could also use the command line tools like blackberry-deploy or batchbar-deploy installed with the SDK.
Finally, crackberry.com has a tutorial on sideloading Android apps using the DDPB third party app, which requires Java and .Net (so the browser plugin tool is really preferred).
I have 1 .bar file which is generated from eclipse plug-in.
Now I want to test that .bar file in Blackberry 10 simulator.
How can I test that Application?
I have installed blackberry simulator 10 Dev Alpha successfully and configured IP Address also.
Please help me. Thanks in Advance.
After signing the bar file please paste the following line into the command line
*
blackberry-deploy -installApp 192.168.177.131 -password 1234 hello.bar
*
I was able to get the playbook simulator working using this tut:
http://blog.joelambert.co.uk/2012/02/07/getting-started-with-phonegap-on-blackberry-playbook/
When you say you're using the Eclipse plug in, do you mean the QNX Momentics IDE (which is The native BlackBerry 10 IDE but based on Eclipse)? If so, here are the steps I take.
If you have the simulator running, make sure development mode is on.
Click the Run Menu -> Run Configurations
Select "Simulator-Debug" for the run configuration (note the simulator needs to run the x86 compiled binary not ARM)
You mention that you have the IP address set up, so the simulator should appear as a target.
I also like to set the auto build option.
Apply these settings and close.
Now run and the IDE should build the code, and deploy it to your simulator.
If you have only the .bar you can use the vnBB10 tool to install the app in the device or simulator. http://forums.crackberry.com/blackberry-10-os-f269/how-get-bb10-hardware-id-sideload-app-bar-file-into-blackberry-10-a-780773/
How do I install a test app developed using Eclipse on a BlackBerry?
If you using Eclipse for BB development, you must use Plugin for Eclipse and BB simulator. In this way you just build your application and run/debug it from IDE. IDE automatically run simulator and deploy your cod to simulator.
In other cases, there are 3 ways to run your *.cod application on BB device:
Using javaloader
Using DesktopManager
Directly from simulator (only for simulator!). File\Load Java Application\Choose your cod, and your application appears in Downloads directory.
Using OTA (Over-The-Air) installation(for web-installation).
Note, that if you use for, example, Crypto API or Persistent storage API, before install your application on real device, you must sign it with SignatureTool.