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

Native Development

Reply
Super Contributor
JeffLemon
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Release Build

So I have finally finished my BB10 app.

 

I was just wondering how I go about exporting it from momentics and if there was and tips or things i should remember before buidling it.

 

It's an update to a previous PlayBook app of mine and I want to release it under the same SKU.

 

Thanks

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Release Build

If you want it to be the same app, i.e. an inplace upgrade of the playbook version for someone who has already downloaded it, it usually needs to have the same package id and use the same signing keys.

To export the build in momentics you need to use the "export release build" function that shows up in the bar-descriptor.xml editor
Like all of my posts
Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)
My Carrier: Mobile Vikings

Re: Release Build

The same id and same signing keys should be enough.
-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.
Developer
bcs925
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Release Build

Pretty easy to do, I have a step-by-step tutorial for it: http://bbcascadescode.tumblr.com/post/33340977264/exporting-bar-file-from-cascades-ide

---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Please use plain text.
New Developer
wilochoa14
Posts: 12
Registered: ‎10-15-2012
My Device: Dev Alpha 10
My Carrier: MOVILNET

Re: Release Build

Please use plain text.
Developer
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Release Build

I have an app that is working fine in debug model on the device but when I export the release build and side load it the app icon is there but fails to run.

 

Anyone else ever see this happen?


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Regular Contributor
_NishantShah
Posts: 76
Registered: ‎07-31-2012
My Device: Blackberry
My Carrier: Vodafone

Re: Release Build

Hi JaredCo,

 

Where did you export signed bar file? Signed generated bar file is exported to \arm\o.le-v7 folder defaultly. May be you would have picked up from \arm\o.le-v7-g folder.

Please use plain text.
Developer
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Release Build

Hi,

 

I double checked and I picked up the one under BAR Packages which comes from the arm\o.le-v7.

 

The app installs fine on the device by sideloading....icon is there but when I click  the icons shift over then back like a peek...no window is opened.

 

 


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Developer
StevenKader
Posts: 638
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Release Build

Finally figured it out.....I had an older project and didn't know I had to make this change :

 

intmain(intargc, char**argv)

Add the Q_DECL_EXPORT symbol before the declaration:

Q_DECL_EXPORT intmain(intargc, char**argv)


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Developer
jasoncheung
Posts: 67
Registered: ‎09-01-2012
My Device: Dev Alpha
My Carrier: Bell

Re: Release Build

You might want to read up on the latest compiling notes for the Gold SDK.

They have some additional changes, that I'm not sure if they will deem mandatory.

 

https://developer.blackberry.com/cascades/documentation/getting_started/tools/compiling.html

Please use plain text.