code signing - Building Blackberry 10 App bar file -
i found no place on internet listed steps build blackberry app (webworks) working bar file , how install device.
- install blackberrygraphicalaid direct link
1st time sign application
- ask keys , remember pin here: https://www.blackberry.com/signedkeys/codesigning.html
- after receiving keys email blackberry, open blackberry graphical aid app
- go "configuration" tab
- set sdk path (skip android if don't need it)
- create certificate (it's author.p12)
- will ask keys, , pin (received via bb email) , new password set certificate with, set them , ready
signed application before , need resign again (using diff pc)
- you have find following files used releasing last released version
- author.p12
- barsigner.csk
- barsigner.db
- make sure these files there in
c:\users\youusername\appdata\local\research in motion
- if released app world version using these keys have keep safe because if used other keys create new app not new version
- if released world version using these keys, means can't generate author.p12 file again .csj(key files) files have use same 1 used before other 2 files barsigner.csk , barsigner.db
to publish device debugging purpose
- open the blackberry graphical aid
- go "debug token" tab
- create new debug token using same password created before(not pin)
- install debug token device
- to install device, have
- connect device using usb cable (i don't trust wifi connection in such stuff)
- device/go privacy , security/ development mode, enable development mode , set password
- when connect device using usb cable, blackberry connection app ask password grant connection
- after installing debug token
building bar file installed (in both cases)
- zip application files (from inside root zip file created in same folder of index file)
- go build webworks tab
- set zip file location
- set folder path resulting builds
- you must sing application same password set before publish app world or debugging device
now if going publish app world have bar file ready else if want test on device go "install" tab - set bar file generated last step (device version not simulator) - set device password , install - cheers
Comments
Post a Comment