Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎11-30-2011
My Device: black-berry
My Carrier: vodaphone
Accepted Solution

cod file installation on BlackBerry Device by OTA ,Error while starting Application

Hello ALL,

 

I had devloped Balckberry Application using Sybase Unwired Platfourm 2.0.

I am installing all three required dependent cod files ( CommonClient,sup_client_rim,UltraLiteJ ) with my main Application using JAD file.

 

Apllication is installed succesfully with all three modules,but when i Start Application,it gives following Error.

Error while starting RR: Module 'UltraliteJ-3' attempts to access secure API. 

 

((when I Install all  dependent cod files ( CommonClient,sup_client_rim,UltraLiteJ ) using Desktop Manager,Application is working fine.))

 

I had signed all cod files installed on device.

Here is my jad file.

 

 

MIDlet-Name: RR
MIDlet-Version: 1.0.0
MIDlet-Vendor: BlackBerry Developer
MIDlet-Jar-URL: RR.jar
MIDlet-Jar-Size: 226631
MicroEdition-Profile: MIDP-2.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: RR,images.jpg,
RIM-MIDlet-Flags-1: 0
Manifest-Version: 1.0
RIM-COD-URL: RR.cod
RIM-COD-Size: 67308
RIM-COD-Creation-Time: 1322626069
RIM-COD-Module-Name: RR
RIM-COD-Module-Dependencies: net_rim_cldc,sup_client_rim,UltraLiteJ
RIM-COD-SHA1: ee 06 5c 6f 50 4c 1e 3a 0b 68 f9 53 12 6e e4 b1 70 a1 a7 df
RIM-COD-URL-1: RR-1.cod
RIM-COD-Size-1: 26984
RIM-COD-SHA1-1: 8b 98 42 9f 44 0c 98 31 57 6c 18 a0 28 d4 47 bf 92 cc 2c 6b

RIM-COD-SHA1-2: ba e1 5a 89 79 00 39 1a 49 6e a2 49 c4 55 94 eb 7f 2c 0f 99
RIM-COD-URL-2: UltraLiteJ.cod
RIM-COD-URL-3: UltraLiteJ-1.cod
RIM-COD-SHA1-3: 5e 6b 7f 60 82 fd 68 15 07 fb fe bf 4a 6c 88 8c 7a 4a f0 c6

RIM-COD-Module-Dependencies-1: net_rim_cldc,net_rim_os
RIM-COD-URL-7: UltraLiteJ-5.cod
RIM-COD-SHA1-7: 2d 81 8a cd d4 4b 3f be 20 6b ad 01 fa 30 d6 ba c1 e5 59 4b
RIM-COD-URL-6: UltraLiteJ-4.cod
RIM-COD-SHA1-6: 07 e5 0e fa 47 80 bd ad 12 93 32 87 05 e7 c5 70 83 9f 14 a0
RIM-COD-URL-5: UltraLiteJ-3.cod
RIM-COD-SHA1-5: 5c a0 bc 59 70 0f de 9b 53 d3 23 44 ae f3 d9 eb 2e c3 09 ec
RIM-COD-URL-4: UltraLiteJ-2.cod
RIM-COD-SHA1-4: ce c6 d6 70 ea 18 df f6 29 9b 91 5f e4 d3 fb be 13 35 61 06

RIM-COD-URL-8: sup_client_rim.cod
RIM-COD-SHA1-8: 2f b9 b2 98 9f 79 4d 6b 3f c2 d5 13 57 47 ce 42 7b f4 70 a0

RIM-COD-URL-9: sup_client_rim-1.cod
RIM-COD-SHA1-9: 51 64 ff 61 f1 23 8b 16 49 bd 23 4e c6 89 63 4d ad c2 29 d0

RIM-COD-Module-Dependencies-2: net_rim_cldc,UltraLiteJ,net_rim_os,net_rim_satsa,CommonClient
RIM-COD-URL-10: sup_client_rim-2.cod
RIM-COD-SHA1-10: 59 27 3e d5 33 83 70 f8 c4 d8 92 7b e5 51 bf 37 09 c2 70 56

RIM-COD-Module-Name-3: CommonClient

RIM-COD-Module-Dependencies-3: net_rim_cldc,net_rim_crypto_1,net_rim_crypto_3,net_rim_crypto_2

RIM-COD-URL-11: CommonClient.cod

RIM-COD-SHA1-11: ef 7a da 29 08 66 f5 22 63 ef 63 9b 46 5f 3a 3b 84 d1 ae 6b

 

I had extect all files from jar files.

Pls,Anybody have any any Idea where is the problem.?

Thaks and regards.

Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: cod file installation on BlackBerry Device by OTA ,Error while starting Application

Hi @hmorzariya,

 

I can think of a couple of options:

 

1. The 'UltraLiteJ-3.cod' file was not signed successfully.

 

2. The 'RIM-COD-SHA1-5' does not match.

 

3. The COD-size is missing.

 

Did you signed the file on your own?

 

I think that you might need to update the JAD after you sign the COD file ...

 

E.

New Contributor
Posts: 3
Registered: ‎11-30-2011
My Device: black-berry
My Carrier: vodaphone

Re: cod file installation on BlackBerry Device by OTA ,Error while starting Application

Solved..!!!!

 

Thanks maadani..