09-03-2008 06:21 AM
Hello....
I want to signing my application.,but i don't know how the way ????
Can U tell me how the way to signing my application.,because my application access a secure API..for example i access "Invoke application".,
Regards,
Asri Dwitiya
09-03-2008 06:39 AM
You will find documentation for the process in the Developer Guide, in the 4.5 Guide, it is in Chapter 17: "Controlling access to APIs and application data on the BlackBerry device".
You will find that a lot of questions are answered already in the Developer Guide, this forum and the KnowledgeBase. I suggest that you search these.
09-03-2008 06:40 AM
Do you have the code signing keys already? If not you'll need to buy them before you do anything else. The URL is https://www.blackberry.com/SignedKeys/
09-04-2008 09:53 PM - edited 09-04-2008 10:27 PM
I have to ask u,,
Does one Signed key of RIM API's used for only one device Blackberry??????Thanks..
Asri
09-05-2008 12:07 PM
09-05-2008 09:43 PM
Hi Mark and all thank's for your help
Asri
09-06-2008 02:22 PM
I'm not sure if this helps but it took me a while to piece together everything for automated signing.
Here is a piece of a bash script that works on cygwin. STP is path to signing stuff and I have
TDW as an absolute path to the cod file, code for "signsomething" at bottom,
signsomething "$TDW\\$NM.cod"
#http://www.blackberry.com/btsc/articles/KSM/Produc
#-a Request signatures automatically.
#-c Close after requesting signatures if no errors occur.
#-C Close after requesting signatures even if errors occur.
#-s Print code signing statistics on the number of signatures received and number of signatures requested.
#-r <directory> Search a directory and select all .cod files in the directories.
#-f <file> Use a file to specify the .cod files to load.
#-d Remove the temporary file used with option -f. Use option -d in conjunction with option -f.
#.csi file Type a .csi file, which contains your registration information and a list of signatures that you can apply for. Specify one .csi file per command.
#.cod file The compiled application. When you obtain the required code signatures, you can load the
# .cod file on a BlackBerry device. Specifying a .cod file using the command prompt is equivalent
# to using the BlackBerry Signature Tool
# to request the signatures for a .cod file. You can use the
# BlackBerry Signature Tool to reference multiple .cod files in one command.
signoptions="-a -C -s "
signsomething()
{
ST="javaw.exe" # this needs to be moved somewhere...
STP=`cygpath -w "$rimm_sign_dir" `
STP="${STP}\SignatureTool.jar"
FF="$1"
#echo generic signing test
echo sign with $ST -jar "$STP" $signoptions "$FF" -p yourpassword
$ST -jar "$STP" $signoptions "$FF" -p yourpassword
if [ "$?" != "0" ]
then
echo Signing didnt appear to work
echo note that signing needs cso and csl files too...
exit -1
fi
}
09-08-2008 05:44 AM