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

Adobe AIR Development

Reply
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to delete app?

"Blank white screen" is what you'll see if you use http instead of https.  Check that you are really accessing it via SSL and not using the regular unencrypted protocol.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: How to delete app?

Yes that was what the problem was, but you replied before I could edit away my self-embarrassment. Smiley Very Happy

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to delete app?

I should note for anyone else using this that there are also bugs in this appInstaller CGI stuff that may prevent you using it successfully.

 

In my system, pretty much every time I have more than 10 apps installed the app list shown by this tool gets corrupted just after the 10th app.  Currently the list looks like this around that point:

 

 

FontTest.Rm9udFRlc3QgICAgICAgICAgICA::Rm9udFRlc3QgICAgICAgICAgICA,1.0.0.0,source::developer
Graphics1.R3JhcGhpY3MxICAgICAgICAgICA::R3JhcGhpY3MxICAgICAgICAgICA,1.0.0.0,source::developer
ListDemo.TGlzdERlbW8gICAgICAgICAgICA::TGlzdERlbW8gICAgICAgICAgICA,1.0.0.0,source::developer
öûÿÿ	öûÿÿ	cations
tions
tions
tions
tions

 If you get this situation,

 

  1. please let us know here so we'll have confirmation of a second case and can report it, and
  2. either keep your BAR files, a record of the Package Ids, or discover the package Ids a different way. 

The only other way I know of to discover the Package Ids is to ftp or telnet in and look into the /apps/ folder.  For example, with ftp, just do "dir /apps/" and you'll see the list of app names and Package Ids that the appInstaller.html list is supposed to show you.

 

Alternatively, wipe the simulator and start clean, but that's a bit brute force...


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: How to delete app?

I think I had more than 10 apps, and I definitely saw the odd characters that you post in your example, however I was able to delete everything I needed to (got down to 1 installed app at the moment). I did refresh the list a few times; if you didn't try that, maybe see if that "fixes" it?
Contributor
Posts: 33
Registered: ‎12-23-2010
My Device: Not Specified
My Carrier: vodaphone

Re: How to delete app?

Don't know if this has been answered yet, but on Mac OSX

 

/Applications/Adobe\ Flash\ Builder\ Burrito/sdks/blackberry-tablet-sdk-0.9.1/bin/blackberry-deploy -uninstallApp -device 192.168.4.129 -package AirBall.bar

 

Results in..

 

 

Sending Uninstall request...
Action: Uninstall
Uninstalling b2FzbGVieS5haXJiYWxsICAgICA...
actual_dname::com.nichoasleby.airball.b2FzbGVieS5haXJiYWxsICAgICA
actual_id::b2FzbGVieS5haXJiYWxsICAgICA
actual_version::1.0.0
result::success

Sending Uninstall request...Action: UninstallUninstalling b2FzbGVieS5haXJiYWxsICAgICA...
actual_dname::com.nichoasleby.airball.b2FzbGVieS5haXJiYWxsICAgICAactual_id::b2FzbGVieS5haXJiYWxsICAgICAactual_version::1.0.0result::success

 

 

 

Works successfully to remove applications... Now if I could only remember what I named some of those dang bar files..

Developer
Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: How to delete app?

... Now if I could only remember what I named some of those dang bar files..
With Peter's solution: http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/How-to-delete-app/m-p/681455#M279... you don't have to remember the names of the .bar files; just find them through the server and delete them that way.
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to delete app?

For anyone who was using the former backdoor with "https:...appInstaller.html" to list and/or uninstall apps (if you've lost your .bar file etc), I just stumbled over the new approach for Beta 3 release.

 

Although you can log in via SSH and do something like "ls -l /apps/" to see the list of apps, that's more involved than this approach:

 

 

%airsdk%\blackberry-deploy  -listInstalledApps -device simbeta3 -password x

 The AIRSDK environment variable points to where my SDK bin folder is.  I have "simbeta3" in my hosts file, but just use the IP address of your simulator, and of course your own password.

 

 

No doubt this is supported via the IDEs people use, but for command line folks that's the new way.  Not documented anywhere else that I've seen, but visible in the usage output for blackberry-deploy if you look carefully.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: How to delete app?

very cool approach - i guess if they close down one door another door is bound to open up haha Smiley Happy

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
BlackBerry Development Advisor
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: How to delete app?

that is actually a front door. Undocumened currently as the most of the other stuff unfortunetly.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to delete app?

 


elena_laskavaia wrote:

that is actually a front door. Undocumened currently as the most of the other stuff unfortunetly.


 

Actually more of a qconn door, I would think. ;-)

 

(If that makes no sense to someone, it's a reference to the "qconnDoor" software that runs in the simulator, listening on port 4455.  It accepts connections from blackberry-deploy, blackberry-connect and the like, allowing us development mode access to the simulator.  I believe the same interface directly supports a remote debugging connection to the native IDE, or at least will do so when that is released beyond QNX and their "close partners".)


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!