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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Posts: 1,474
Registered: ‎04-14-2009

Re: reinstall application problem in second time

I suspect it might be this renaming that fools the OS. Why do you need to rename the files? Try referencing the three smfbb files using their original names in the JAD.
Please use plain text.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008

Re: reinstall application problem in second time

what suggested by klyubin is right.

 

you could try upgrading the OS?


Use Search. "Accept Solution" If the problem is resolved.
Please use plain text.
New Developer
adem666
Posts: 103
Registered: ‎05-05-2009

Re: reinstall application problem in second time

it seems about jad parameters. I remove all RIM-COD-Creation-Time and RIM-COD-SHA, then try to install. and there is no problem. I look UpdataJad.exe, it also remove these parameteres when combining two application. 

 

but there is another problem. 

 

my case consits these.

 

3 applications,

 

Applicaton A, has two module: Module MA and Module X

Applicaton B, has two module: Module MB and Module X

Applicaton C, has two module: Module MC and Module X

 

as you see, Module X is shared. and, If, I open one of these program then try to install another program again, problem of "907 invalid cod" occurs again. 

 

I'm still testing some cases. After I finish it, I report it here. but now, it is about Jad parameters (RIM-COD-Creation-Time and RIM-COD-SHA), for me. 

Please use plain text.
New Developer
adem666
Posts: 103
Registered: ‎05-05-2009

Re: reinstall application problem in second time

[ Edited ]

the problem is so strange. I cannot understand how it occurs.

the problem is about names of modules. If you named your two modules with same names, then this problem occurs. 

 

it is very confusing. I tested many cases and I got this. You can try it yourself.

 

I prepare two applications with same cod files. 

 

http://www.smartface.org/demo/1/CepteHaber.jad

and

http://www.smartface.org/demo/2/CepteHaber.jad

 

in first application,

 

in first time you install, you will install it successfully. but, if you try second, then you will fail. so, every time that you try to install, one time you will get problem, one time you will install successfully . 

 

in second application,

 

every time that you try to install, you will install successfully. 

 

two applications has save cods. the only difference is some cod's names. I dont understand why cod's names cause this problem. it is so extraordinary

 

Please use plain text.
New Developer
ftraian
Posts: 10
Registered: ‎10-30-2008

Re: reinstall application problem in second time

did you find a solution to this problem?

I'm having exactly the same problem, asked on the forum but didn't got to any solution.

Please use plain text.
New Developer
adem666
Posts: 103
Registered: ‎05-05-2009

Re: reinstall application problem in second time

yes, I solved it.

 

there are some issue that you must be careful. my problem was "naming problem". if your jad file has two or more modules, and you change their name in jad file, it can be possible to occur.

 

for example,

 

jad file,

 

RIM-COD-URL: App.cod

RIM-COD-URL-1: App-1.cod

RIM-COD-URL-2: MyLib.cod

 

and, if you modify this jad to like this,

 

RIM-COD-URL: App.cod

RIM-COD-URL-1: App-1.cod

RIM-COD-URL-2: App-2.cod

 

and MyLib.cod file name. it seems there is no problem. you changed your jad file and according to this change, you changed file names. but, it makes angry to BlackBerry OS. I dont know why, but you must make different module with different module names. if it seems continuesly, it can make a problem like this

 

Please use plain text.