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

Adobe AIR Development

Reply
New Developer
misterhee
Posts: 13
Registered: 11-18-2010

Re: How to delete app?

yep.

 

I never manually entered in a reverse DNS id. When I look in the app descriptor, the id is just:

 

<id>BPBAIRHelloWorld</id>

 

I have tried this id without success.

 

I am pretty concerned that the uninstall util says it has successfully uninstalled something when clearly it has not (or when it doesn't even exist)

 

Next?

Please use plain text.
New Contributor
ou81aswell
Posts: 5
Registered: 11-21-2010

Re: How to delete app?

I use -package and not -package-id as in:

 

blackberry-deploy -package xxxxxxxx.bar -uninstallApp -device 192.168.233.128 -password xxxxxxxx

 

Please use plain text.
New Developer
misterhee
Posts: 13
Registered: 11-18-2010

Re: How to delete app?

Hmm. Accoring to the commandline options, only package-id is allowed for the uninstall command:

 

C:\Users\mr>blackberry-deploy
Usage:
  <deploy> -installApp [<options>] -device <device-id> -package <bar-file>
  <deploy> -uninstallApp [<options>] -device <device-id> -package-id <package-id>

 

 

Is there some way I can view/access the file system on the Playbook simulator to manually delete files?

 

Please use plain text.
New Developer
MissRancher
Posts: 55
Registered: 11-10-2009

Re: How to delete app?

When I have tried to uninstall using the Run configuration in the Flash Builder 4 GUI, I can select both terminate and uninstall, but for both of them, the Run button becomes disabled when I select them and I cannot Run. So I can only install and launch from within Flash Builder. Any ideas on how to fix this??

Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: How to delete app?

[ Edited ]

Hey MissRancher,

 

I just tested it using an App. I saw that the run button on the dialog menu that you choose the uninstall option is disabled but if u hit "Close" it will bring you back to your project and from there just hit the Run icon (the icon that looks like a play button - shouldnt be disabled) in your toolbar and it should uninstall the application.

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
New Developer
MissRancher
Posts: 55
Registered: 11-10-2009

Re: How to delete app?

Thanks for figuring that out for me! I guess that's a bug in Flash Builder? Well thanks for the workaround!

Please use plain text.
Developer
JRab
Posts: 2,387
Registered: 11-04-2010

Re: How to delete app?

No problem! =] workarounds are the only way around everything these days haha

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Please use plain text.
Developer
peter9477
Posts: 3,831
Registered: 12-08-2010
My Carrier: none

Re: How to delete app?

I think I have a rather effective solution for this issue.

 

The simulator runs a web server which, when development mode is enabled, allows you to connect using your browser (e.g. Firefox, etc) and perform a few development-related tasks.  You can basically do the same things blackberry-deploy can do, as well as possibly some it cannot.

 

With development mode enabled, navigate to https://192.168.x.x/appInstaller.html.  (Don't include the period on the end of that URL.)  Tell your browser to accept the SSL certificate etc... it's the usual "self-signed" one that is often used for this kind of thing.  (The server listens on port 80 for http connections as well, but none of the available actions worked when I connected that way.)

 

The most useful thing for me is the "List all installed apps" button at the bottom.  Click it and you'll see a list of Package Name and Package Id combinations, such as this (from my unit):

 

HelloWorld1.SGVsbG9Xb3JsZDEgICAgICAgICA

Back on the main page, you can chop that into two pieces, entering the HelloWorld1 part as the "Package Name" and the hash info (or whatever it is) after the period as the "Package Id" fields, then click on Uninstall.  No muss, no fuss...


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru | Get more from your battery! Power, voltage, life.
Please use plain text.
New Developer
ColinHolgate
Posts: 36
Registered: 12-09-2010

Re: How to delete app?

The uninstall thing works even if you only give it the id, no need to fill in the name field.

Please use plain text.
Developer
UberschallSamsara
Posts: 434
Registered: 12-29-2010

Re: How to delete app?

[ Edited ]

Works. Excellent.

Please use plain text.