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

Web and WebWorks Development

Reply
Developer
Posts: 75
Registered: ‎09-05-2012
My Device: Z10 Red, PlayBook, DevAlpha C
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?

Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10
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
Developer
Posts: 75
Registered: ‎09-05-2012
My Device: Z10 Red, PlayBook, DevAlpha C
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?