How to install .CSI file for Code Signing and load app to BlackBerry? - blackberry

I've developed a PhoneGap application that I intend to deploy to my BlackBerry Bold 9700. My development tools includes NotePad++, Apache Ant, Sun JDK and BlackBerry WebWorks SDK as dictated on this page here http://www.phonegap.com/start#blackberry.
I applied for Signing Keys from the Blackberry website and received a .CSI file via email. The email offers instructions for various ways of processing the .CSI file, but none of the ways explain how to do it with the current tools I have installed.
Is there an easy way to proceed with my .CSI file without installing Eclipse, Visual Studio or any other IDE? If so, can someone dictate step by step what to do?

I hope you got the solution for that. I was having the same issues. I hope my solution will work for anyone.
After getting the *.csi files from blackberry, you need to install them on your computer.
For those of you who are using Ant to build applications which described here http://www.phonegap.com/start#blackberry.
this will work you.
For installing the *.csi files in your computer you need SignatureTool.jar . This is located in your c:\BBWP\bin directory.
Next copy all the *.csi files to the above directory and run this command from the terminal in sequence.
c:\BBWP\bin>SignatureTool.jar client-RBB-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RCR-2053305203.csi
c:\BBWP\bin>SignatureTool.jar client-RRT-2053305203.csi
If you don't have a private key installed you need to create one. And use the pin number which you used during the registration process. The installation is easy you will not have any problems with it.
Hope it helps anyone
Thank you

Try BlackBerry Ant tools. It uses ant so you need it, but this is fairly lightweight.

Look at "Signing your smartphone application" to get you started

Related

Smartface Creating an iOS plugin

I've installed the CLI tools.
Now what do you do in order to make a plugin.
I've tried looking at the guides however I can't figure out exactly what to do?
I'm also puzzled as to where you create the plugin whether It's on The Command Prompt or Node.js or the Smartface Studio itself.
To create a plugin, you need native environment from the system. In your case, XCode.
My reccomendation to learn plugins is this tutorial by Smartface Team: https://www.smartface.io/developer/guides/plugins/hello-world-with-ios-plugin/
This is the most basic plugin you could write, but it still shows the fundamentals of plugin writing for Smartface.
P.S. You will need a Mac to develop iOS plugins (just to be sure that you know that).
Hope that helps! :)
EDIT
I was revisiting this question and I realized that I was very vague...
To answer your question, you have to develop your plugin in Native Environment (as I said), and when you build it's package, you have to put it in the same directory of the other files you'll need (PluginConfig and all of that), and run, in command prompt, the command to make the output.zip file.
Now it's better :)

Linking to an external www-folder - Tools for Apache Cordova (VS 2015)

For a project I'd like to use an existing website as a base for a cordova app. My project setup looks as follows:
One Solution with two projects
A ASP.NET webservice project (with website aka html/js/css)
An tools for apache cordova project
I don't want to copy the html/js/css files from the website on every build. Instead, I thought I could get away with some kind of a link to the www-folder in the ASP.NET project. I tried several approaches:
Creating a filesystem link (tried 'mklink' with parameters /D and /J - /H is not working for directories
Editing the .jsproj file and add a tag to link to the other project's www-folder
The second approach didn't work at all. Just got some weird errors when trying to load the project again (saying something about file duplicates).
The first approach worked a little bit: It is working, when targeting the windows platform. It is NOT working, when targeting iOS.
When targeting iOS, everything is copied just fine to the platforms\ios folder (read, all the content of the linked www folder is copied to the platforms\ios\www folder). But it is not copied correctly to the remote build tool on Mac OS X! It really just copies the directory link as a file. Remotebuild then failes with a 'missing www directory in top level' message.
Any suggestions how to add a link so the content is copied (instead of the actual link)?
Is there a way to take detailed influence on the build process for specific platforms?
Is there a way to create a hardlink to a directory in windows? What are the drawbacks?
I'd really like to avoid copying the files on build (which would be simple enough with a prebuild script), because there's a high risk of loosing changes made while debugging.
I'm aware that setting a link is also not the best solution, since it has to be done per machine and can't be checked in to a version control system. So, if somebody knows of a better aproach to handle my scenario, let me know.
I work on the Tools for Apache Cordova in Visual Studio at Microsoft.
I'm sorry but VS-TAC does not support add as link. To prevent confusion we removed the option in update 3.
The best solution I can give you is to copy files from one project to another. Another user asked this question a week ago and came up with a hacky solution. Please see this for more information:
VS2015 typescript cordova add as a link
Sorry for the trouble and thank you for the feedback!

Netbeans 7.3 Clean Install: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set

First of all I'd like to start by saying that I'm actually a .Net programmer, and it so happens that I need to develop a J2ME app again today. I've have had innumerable problems developing J2ME apps with Netbeans in the past, to the extent that I have had to use someone else's laptop to do the job.
Today I installed Netbeans 7.3. Clean install. I installed the WTK 2.5.2 right afterwards. I managed to configure the platform on Netbeans and all, but once I make a J2ME app and run it I'm getting the following error message:
"Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set."
Trust me this is quite upsetting since I've looked it up on the net, and it seems the menu items to solve that problem that people have been pointing out to DO NOT EXIST in Netbeans 7.3.
I added an ANT variable: libs.j2me_ant_ext.classpath and set it to C:\Program Files\NetBeans 7.3\mobility\ant\nblib
Still not working. I'm not even sure if that's the correct path, if those are the correct files.
This is extremely frustrating. Can somebody please help?
I've encountered similar problem with nb 7.2.1, it's probably a bug which destroys a part of .properties file in those versions.
Fix your properties in file %project_folder%\nbproject\project.properties (you can copy them from such files in similar healthy projects)

XNA 4.0 ClickOnce game does not run after installation

Okay, I have been looking all over to solve this problem before I actually broke down and decided to finally ask for my psecific problem. I am using ClickOnce installation and when I use the setup.exe to install nothing runs, not even on my personal computer that I know has all of the proper libraries and such. I'm not sure what I am doing wrong so it is difficult to explain the problem.
I have included dotNetFramework4.0 client x86 x64 , xna redistributable 4.0 and windows installer 3.1 along with my game and I have it set to install all of that with setup , also I have it set to download prereqs from same location as application. I've tried it on three separate computers , one that does not have XNA or VS C# installed and the same problem occurs.
Here is the problem , after I install the game nothing runs, I try clicking on the ClickOnce application file (the one with my game's icon image) and again nothing happens. The thing that really bugs me is that there isn't any errors or crashes or anything , it's almost like clicking on the desktop screen. (I looked at the properties of the "shortcut" that was installed with the game and the file size of the shortcut is like 300 bytes. Isn't that really small? I was thinking maybe there is a problem with a startup executable? I'm not sure though.)
I've tried tweaking some stuff in the Publish section of my project , such as un-checking the box that says "use .deploy extension files" (I don't know why, I've been grasping at straws here) I've been looking into some other installers such as NSIS but I don't know how to compile a list of files to include in other installers and I feel like that won't solve the problem anyway because I've gotten ClickOnce to work with me before.
On one computer there was an error report that said something about 'deployment and application do not have matching security zones.'
Game.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
It's getting late so if I need to provide more information let me know.
ClickOnce can be a fickle thing. There are times that I've had errors occur that could only be solved by recreating an entire Windows user profile. Because there are so many different options for ClickOnce, it's going to be hard for me to diagnose your exact issue, so I can only offer what options I used to successfully install via ClickOnce.
Publishing Folder: local folder
Installation Folder URL: blank
Install Mode: offline
Application Files
Make sure the Publish Status of your game files is set to Include (Auto)
Make sure the Publish Status of the XNA libraries is set to Prerequisite (Auto)
Click Prerequisites
Microsoft .NET Framework 4 Client Profile
Microsoft XNA Framework Redistributable 4.0
Windows Installer 3.1
Do not check for updates
Everything else default under Options (publisher/suite name shouldn't affect anything)
Specify the version number
Publish Now
Install the game through the setup.exe provided in the publish location. I always distribute every file that is publishes. However, you can clean up old versions in the "Application Files" folder if you don't want the history to be distributed.
You can double check the "Application Files" folder to see if your version got published correctly (look at the files that were deployed and see if they match your project contents).

BlackBerry JDE Eclipse install

Installing BlackBerry's JDE in Eclipse, via Help > Install New Software, it fails with this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: BlackBerry Java Plug-in 1.1.2.201004161203-16 (net.rim.EclipseJDE.feature.group 1.1.2.201004161203-16)
Missing requirement: BlackBerry Java Plug-in 1.1.2.201004161203-16 (net.rim.EclipseJDE.feature.group 1.1.2.201004161203-16) requires 'org.eclipse.help [3.4.0,3.5.0)' but it could not be found
Also;
I downloaded pluging(full installer) setup, but not it doesn't work. I work on win7, it says me Select another path for install, I tried everywhere... nothing changes.
ITS OK. I DOWNLOADED eclipse-jee-galileo-SR2-win32 version. I am downloadng content from blackberry now... But I have a problem about installing plugin manually.!!
I had this exact kind of problem. Worked on it on and off for over a week. Never got a good solution. I noticed that when I did the install it was saying "blocking" and it would take several hours to do the install. I tried it from work and from home. It still took hours. Most of the time it failed. One time it finally worked (or seemed to), but there were missing menu options. I suspect the error message is wrong.
Short answer, I've gotten marginal success using an alternate method of install. Try this:
http://us.blackberry.com/developers/javaappdev/devtools.jsp
Click on "Download the BlackBerry Java Plug-in for Eclipse v1.1 (full installer)"
It seems to install correctly and MUCH quicker (on the order of a few minutes as opposed to hours), no error messages, no warning messages - and the expected menu items are there.
Good luck.
Note: I still have the problem that I can't get the damned applications to install on the phone even though they work in the simulator, but I'm reasonably confident it's not because the JDE installation failed.
BlackBerry Java Plug-in ... requires 'org.eclipse.help [3.4.0,3.5.0)'
The key takeaway from the error message is that org.ecilpse.help is missing. What do you know about org.eclipse.help?
Use Eclipse to install the BlackBerry Java Plug-in.
Choose Help > Install New Software.
Click Add.
For Name, type BlackBerry Java Plug-in Update Site.
For Location, type http://www.blackberry.com/go/eclipseUpdate/mac/java.
Click OK.
Select BlackBerry Java Plug-in and at least one BlackBerry SDK. Choose the version of the BlackBerry SDK that is compatible with your intended target market.
Click Next.
Review the items being installed, and then click Next.
Review the license agreement, and then check I accept the terms of the license agreement if you agree.
Click Finish to begin the installation.
After the plug-in is updated, you'll be prompted to restart Eclipse.

Resources