Blackberry application not getting installed on phone - blackberry

I am trying to install the application developed by me on Blackberry device. I am using Blackberry Pearl 8100 and desktop manager 4.3.0.17 to load the application.
I am getting the error message as:
The application cannot be installed because some files are missing.

Make sure you're packaging your application as as ALX file - basically a zip file that includes your COD and an ALX (xml) descriptor file. Desktop Manager can't install apps just from a COD file (although if you have the JDE installed, you can use "javaloader" to load an app from a COD).

Try reinstalling device and desktop manager softwares.
I am not sure of this solution,but it might help.

Have you checked that you're cod file is in the same directory as the alx file when you install it?
When do you receive the error, on application startup or when you enter a specific screen?
Are you using any 3rd party software or libraries (e.g. ksoap)?

Related

Can I update my Electron app with a zip file using Electron Builder?

I'm using Electron Builder for packaging my app and handling auto-updating. Is it possible to have my application auto-update from a zip file in a static directory? It says only NSIS is supported for auto-updating, which I think means that using NSIS or NSIS-web will always require an executable for updating.
My company VPN doesn't allow executable files to be hosted on the network, so i'm just trying to find out if it's possible to update my Electron app using a zip file with Electron Builder (without having to resort to Squirrel)

Where is bin file located after installing Neo4j with .dmg file?

I am using macOS Sierra 10.12.5, and I installed Neo4j using neo4j-community_macos_3_2_1.dmg. I chose the location of database as ~/Documents/default.graphdb when I was prompted, and Neo4j works fine at http://127.0.0.1:7474/browser/. However, I am not able to locate the .bin file that is usually located in the untarred installation folder if I downloaded Neo4j as a Unix console application tar.gz file. Where is the .bin file in this case?
It's in the application package itself, an app in OS X is actually a package structure you can explore.
Right-click on the app, choose Show Package Contents, and check the folder contents. It's under Contents/Resources/app/bin.

Installing .cod file to blackberry q5

I have a .cod file that I want to install to my blackberry. When I try javaloader
"javaloader -u load *.cod" I get the following error.
Connecting to device...debug: HRESULT error during Open: 80040154
Error: unable to open port
Additionally, I have tried hosting the .cod and .jad file on the nginx server and then accessing it from my device webbrowser.
Before I start the nginx webserver I put the following in the mime.type file in nginx.
application/vnd.rim.cod cod;
text/vnd.sun.j2me.app-descriptor jad;
However when I try to access the .jad file from my blackberry web browser it just opens up the .jad file in the browser and when I try to install the .cod file, it installs it on the device but when i click on it my blackberry says unable to install.
My blackberry model is q5.
Can anyone help me with installing the .cod file on my blackberry?
Thanks,
You can't. cod files work on BBOS, and are not supported by BB10. What you are attempting to do is a little like trying to install a Linux application on a Windows PC.

How to create setup file for blackberry using phonegap?

I developed blackberry app using phonegap.
With the help of command prompt,
I build the project with BlackBerry Code signing key,then it can successfully build
and gives the OTAInstall folder contains cod and jad file.
But my client wants to only one jad file to install their device.
Actually I tried to install the jad file without cod file, at that time the device shown error.
So, Everytime I install the app to my device, I used the OTAInstall folder containing the cod and jad file.
How can I convert this lot of files into one single file?
Only one jad file won't install the application. Anyway you need either jad file + cod file(s), or alx file + cod file(s).
jad file + cod stands for OTA install via browser
alx file + cod stands for desktop computer installation via BB Desktop Manager and usb-cable, attached to BB Device.
There's a workaround, it works only for desktop installation and it has a side effect.
Your application won't be listed under Applications list in device options.
You can use javaloader.exe utility that loads and erases cod files on attached BB device. This utility can be found in JDE (Java Development Environment) bin folder.
So, create bat-file that invokes javaloader and loads cod-files to connected device. And pack it along with your cod file(s) in SFX-archive, that runs that bat file when archive has been unpacked.

blackberry code signing for phonegap without using eclipse

Working on a blackberry application. So far was working on eclipse. Now moved to webworks sdk 2.2 that does not support the eclipse plugin. Followed the instructions on the phonegap page to get the cod files. Now that I have the cod files how can I sign them? I use the ant command to generate the cod files.
ant build Buildfile: C:\Dev\bbw\sample\build.xml
I have the code signing password in project.properties.
EDIT Used the signaturetool Java -jar Signaturetool.jar. When I hand it the cod files it says no signing required. When I do a OTA install on my device it errors out saying - module attempts to access a secure api.
This works. Go to your blackberry install folder and type out the following command. Of course this assumes that your project is in the proper zip format - eclipse does it for you but if not you would just need to package your project into a zip file.
in command type:
bbwp yourproject.zip -g mypassword
It will generate and sign the cod files required
If you are already using ant. Connect your device to PC using USB cable and run following command.
ant blackberry load-device
You need to run above command (in cmd prompt) where you have blackberry.xml file.
(You need to install blackberry desktop software for the above command to work.You can download the same from http://us.blackberry.com/apps-software/desktop/ )
Above command will do following things for you..
1.build your application.
2.Launch signature tool and ask for password.
3.Once you enter password it will sign all the .cod files and other required files.
4.Install application on your phone.

Resources