BlackBerry - Unable to get a file with REM extension - blackberry

As part of the application, we are creating a file myApp.cfg in "file:///store/home/user/" location on the device. I have enabled encryption (Option| Security | Encryption | Encrypt). However, the file is not getting encrypted. I dont see a file myApp.cfg.rem. This is happening in the client environment though. What am I missing?
Thanks
Krish

Related

Blackberry Application and Signing key

i am Android developer, i just started to learn about Blackberry Application Development. i want to ask you something about Application and Signing keys.
I have downloaded 3 signed keys (*.csi) files. and i have installed it and added in first demo application to run app on real device. it is working and running fine in real device.
now i have created second demo application, it is also working well in simulator. but when i am trying to launch it in real device. it is loaded/installed successfully but when i am tapping on icon or trying to open application. it is not opening/running on device.
in second project, i tried by right click on project > Blackberry > Sign With Signature Tool. but it is signing only two files while in my first demo application it is signing 3 files.
also it is not generating .csl file in second application.
Please help me.. Thanks in Advance..
Ajay, will you describe your exect problem actually no of signing the file depends how many .cod file are there in your build ( You can check it by rename your .cod file and change its extension by zip and then extract it)
for more detail regarding the BlackBerry app signing process you can follow these steps.
http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Applications-and-code-signing-Start-to-Finish/ta-p/445848
There are cod files which require signing and some others are optional. Once all the signatures are correctly added, then the *.cod and *.jad can be copied.
Now *.cod can be extracted by renaming the same to *.zip. By extracting the zip file along with the *.jad the same can be used to download to blackberry devices. If this is directly uploaded to blackberry device through USB, then *.cod, *.jad and *.alx can be copied and used , no need to extract the *.cod

Publish Android Application does not work

Just created an .apk with the Publish Android Application option, created a keystore with key and uploaded to the Google Play app store. Everything worked, but when I tried to download the app from the app store i got an error message resembling "The application has an incorrect signature". I thought the "Publish Android Application" part of Xamarin.Studio was supposed to fix everything?
I ran the following command on the .apk afterwards: jarsigner -verify -verbose -certs app.apk At the bottom it said the following: This jar contains entries whose certificate chain is not validated.
Please help, would love to have the app out today :)
My problem was simple. XamarinStudio was setup to use Java1.7, setting it to use Java1.6 fixed it :)

Blackberry Cod Signing without BlackBerry JDE

I want to Sign a application that my friend sent me for signing. The reason have no access to my primary pc currently. So can i just sign the application? I have new keys with me.
java -jar SignatureTool.jar [-p <password>][-a][-c][-C][-f [-d] inputFile][-r directory ][-help] ( codFile (codFile) ... | csiFile )
Please provide me link to this file
SignatureTool.jar
From my exp. i assume that that signing is only dependent on this file. Can any one please upload and provide me link to this file. There is no such file when i goggled about it.
Here is the link to SingatureTool.jar
I think you know that you also need key files from RIM to sign an application.

error starting xxxx: Module xxxx attempts to access a secure API

I have checked other questions around but no one seems to have exactly the same error. I'm using phonegap+jqm to create an application, initially tested on my android phone, now i'm trying to build-deploy to a blackberry. To build the app i used the phonegap starting guide, with:
ant blackberry load-device
I DID sign the application with the RIM provided keys. Still getting the error. Some help?
The problem was with the Signing Tool + JAVA SDK 1.7: it is a known issue that these two dont get along well.
Download and install the BlackBerry Signature Tool and run your compiled .cod file through it to check whether it is really signed or not.

Blackberry - application signing

From what little is available on the Internet for signing BB apps, I can guess that we just need the .cod file for signing an app and don't need the source code.
Can someone please confirm this?
Your .cod file is generated automatically when you compile your code. You'll only need to sign it if you use any of the controlled API's: Runtime API, Blackberry Apps API and Crypto API.
You then register with Blackberry (which is free, but requires a credit card), they issue you with a signing key which you then use to sign all future cod files.
I use Eclipse with Blackberry JDE plugin and by navigating to the Blackberry -> Request Signatures.. dialog you will see if any of your .cod files need signed.
I wrote an article in Feb 2009 about this and it seems to have helped quite a few people:
BlackBerry Code Signing Help, Part II
Slight correction to #Fermin. If you don't have the source code, you need the .cod file and the .csl file (and optionally the .cso file) - all of which are generated by RAPC (usually invoked through the JDE, or the Eclipse Plug-In).
The .cod is what will be loaded onto the device, the .csl and .cso are files for the BlackBerry signature tool that tell it which signatures are needed (respectively, they list the required and optional keys needed for your app). If you don't have those 2 files, the signature tool will think no signatures are needed and won't sign the .cod, which will then fail to run on your device.
If no .csl file was generated, it means that there are no required signatures for your .cod, and you can run on the device without signing.
EDIT: Also the code signing keys are only $20 USD, and it's a quick process.

Resources