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

Reply
New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer
Accepted Solution

BES issue

Hi I have created a project with project name as "my project" and  in BlackBerry_App_Descriptor.xml file ,I have given Title as "My Project" ,in alx file we can see  application id tag as below.

<application id="my_project">

<name >
My Project
</name>

<version >
1.0.0
</version>


 

....

</application>

 

And deployement has done using BES and its working fine.

 

After that we have made few changes in project and renamed the project name as "myproject" and in BlackBerry_App_Descriptor.xml file ,I have given Title as "My Project" and in alx file we can see  application id tag as below.

<application id="myproject">

<name >
My Project
</name>

<version >
1.0.0
</version> 

....

</application>

 

 

and we deployed the app using BES(using software config).

 

 

The problem is that instead of replacing the old app ,the new app is pushing to mobile as another app(So in phone totally two applications are there  and if we click on new app then "multiple defined" error is coming).

Can you please tell me why this problem occurred.

 

Can this may be problem 

1.Is it because of different applicaiton_id ?

2.Is it because of same version number?

 

Or may be problem with BES?

 

 

Thanks and regards

hari.



 

 


 

Developer
Posts: 16,786
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BES issue

if you change the id (name), the BES will not know that it is the same application.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer

Re: BES issue

So I have to keep application id same in both projects?
or value in <name></name> should be same name?
Developer
Posts: 16,786
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BES issue

i think it's the id
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer

Re: BES issue

Thankyou simon.

But now we got another problem.
In device ,user dont have rites to remove app as control is over BES.But BES unable to delete the app as both app is sharing same port .So is there any possibility to remove from BES side?Am using persistent in the app.

In Software config,we have some thing called Dispostion to set as(Required,Optional,Disallowed).
Intially we set as Required(user dont have rites to uninstall app).
So is it possible to change it to Optional and delete the existing app from mobile (user side).
Developer
Posts: 16,786
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BES issue

you can delete any app you want from the BES side, but setting it to optional and deleting it on user-side should also be possible.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter