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

Web and WebWorks Development

Reply
Regular Contributor
n_jay144
Posts: 54
Registered: ‎09-05-2012
My Carrier: Play

Problems with config statements on my DevAlpha

Hi,

Changing anything in config file make no effects in my app after reinstalling.

For example, I added splash image to one of my app, reinstalled and nothing. There is no splash image until rebooting of my Alpha A device. Can anybody try to reproduce this issue?

Please use plain text.
BlackBerry Development Advisor
erikjohnzon
Posts: 236
Registered: ‎09-21-2012
My Carrier: Virgin

Re: Problems with config statements on my DevAlpha

Some configuration changes may be cached. Try un-installing the app instead of rebooting you can do something along the lines of:

 

1. blackberry-deploy -terminateApp ....

2. blackberry-deploy -uninstallApp (Un-installs the app)

3. blackberry-deploy -installApp

 

Here is a bash script that I use...

 

echo "Terminating the application"
blackberry-deploy -terminateApp $1 $2 -password $3

echo "Uninstalling the application"
blackberry-deploy -uninstallApp $1 $2 -password $3

echo "Installing the application"
blackberry-deploy -installApp $1 $2 -password $3 -launchApp
@erikjohnzon
erjohnson@blackberry.com
Please use plain text.
Regular Contributor
n_jay144
Posts: 54
Registered: ‎09-05-2012
My Carrier: Play

Re: Problems with config statements on my DevAlpha

Hi Erik,

Usually I perform uninstalling an app before installing new build, but with the same effect. This happens only with 2 latest system software. Maybe I should try to terminate an app before uninstalling?

Please use plain text.