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

Testing and Deployment

Reply
New Developer
Posts: 12
Registered: ‎01-18-2011
My Device: Not Specified

Signed Q10 application not running

We are having difficulties getting a signed bar file to load and run correctly on a Q10 device.

We have packaged the application with 10.1 and signed it with 10.2 command line signer using the download bbidtoken.csk and author.p12.

The signing command reports that it has signed the bar file.

When we try to install the app you see the app icon on the home screen but when you try to run it from the icon it brings up a black window that fills the screen for a few seconds then closes.

Any thoughts on what could be wrong?

Thanks.

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Signed Q10 application not running

That means the app is closing for some reason. Does it work if you deploy it in debug mode?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
New Developer
Posts: 12
Registered: ‎01-18-2011
My Device: Not Specified

Re: Signed Q10 application not running

Yes, the app works fine in debug mode using a debug token.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Signed Q10 application not running

Did you test the release version on a device before uploading it to the Vendor Portal?


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
New Developer
Posts: 12
Registered: ‎01-18-2011
My Device: Not Specified

Re: Signed Q10 application not running

Yes we have tested on the device directly from eclipse using the debug token (no portals) and it works correctly.  We use Jenkins to build, package and sign the app on a separate build machine using the command line (built with 10.1, signed with 10.2).  The signed bar file installs on the Q10 device but the app behaves as described.

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Signed Q10 application not running

Are you modifying the .bar file in any way before or after you sign it?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
New Developer
Posts: 12
Registered: ‎01-18-2011
My Device: Not Specified

Re: Signed Q10 application not running

No I am not modfiying the .bar file.  If I install the author.p12 from Jenkins to my personal certifcates store and then view the cert I see "The integrity of this certificate cannot be guaranteed. The certificate my be corrupted or may have been altered."  Whereas if I take do the same with the p12 from my machine I only get "windows does not have enough information to verify this certificate" because it doesn't have the full cert chain.  Seems the .p12 cert may have an invalid digital signature.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Signed Q10 application not running

Hi Paul,

 

This is a duplicate thread there's more in this one...

 

http://supportforums.blackberry.com/t5/Testing-and-Deployment/Our-signed-app-bar-can-be-deployed-to-...


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.