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
Highlighted
Contributor
Posts: 11
Registered: ‎02-26-2010
My Device: Curve 8310 & Curve 8530
My Carrier: 8310 on ATT 8530 on Sprint
Accepted Solution

How to deploy an appication with loose files over BES or other?

I am curious if there is a way to deploy an application with a loose settings file.

 

My goal is for clients to deploy the application after they have made changes to an XML settings file.

 

After the changes would be made to the XML file,  the client could deploy  via BES or another method.

 

Is this possible?

 

I've written several .Net applications that makes uses of loose/external XML settings files and i want to acoomplish the same thing.

 

Any hints, tips, or ideas are greatly appreciated.

 

Thanks

 

My current development environment:

Eclipse 3.4

BlackBerry JDE Plug-in For Eclpise 1.0.0.67

Blackberry JDE Component Package 4.2.1.17

Blackberry JDE Component Package 4.3.0.16

Blackberry JDE Component Package 4.5.0.16

Blackberry JDE Component Package 4.6.1.27

Blackberry JDE Component Package 4.7.0.46

WIndow XP SP 3

 

 

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to deploy an appication with loose files over BES or other?

There are no "loose" files in a Blackberry deployment.

 

You can incorporate your XML into the project - would that work?

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...

 

 

Contributor
Posts: 11
Registered: ‎02-26-2010
My Device: Curve 8310 & Curve 8530
My Carrier: 8310 on ATT 8530 on Sprint

Re: How to deploy an appication with loose files over BES or other?

i have looked at that route and have considered it.

 

ideally i would like application to be configured when its deployed. 

The configuration would not be done by the developer, but whoever is deploying the application.

 

I would like used a windows application thats already buit in .NET.

It has a GUI and can generate the settings XML file.

 

So when the application needs deploying, a BES administrator can run that utitlity to configure the settings for the BlackBerry application and deploy it. When the BlackBerry application runs, it would detect the settings file configured by the BES administrator and operate accordingly.

 

The acutal phone user wouldn't and shouldn't configure the XML but the BES administrator.

 

Packing file inside the project wouldn't allow me to do this would it?

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to deploy an appication with loose files over BES or other?

How about using HTTP to GET the XML from your server on startup?

 

Contributor
Posts: 11
Registered: ‎02-26-2010
My Device: Curve 8310 & Curve 8530
My Carrier: 8310 on ATT 8530 on Sprint

Re: How to deploy an appication with loose files over BES or other?

Thats a good idea. I didn't think of that one yet.

 

Could I pass the ip address of the BES through the main method of the app using the project jad file?

 

 

Contributor
Posts: 11
Registered: ‎02-26-2010
My Device: Curve 8310 & Curve 8530
My Carrier: 8310 on ATT 8530 on Sprint

Re: How to deploy an application with loose files over BES or other?

I think I will store the XML file on the server.


I will need to use a web service in my application anyways so I will make another one that returns all the settings I need.

 

Thank you very much for you assistance.