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

Web and WebWorks Development

Reply
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: BB10 DevAlpha


usr501 wrote:

Loaded app via  ant/phonegap to dev alpha. using 'ant playbook load-device' using the webworks SDK for tablets 2.2.0.5:smileyvery-happy: some features are non responsive as expected.

also threw the bb10 html app code on server  and my bold 9900 can display it  although page transitions are slow.

 


For the BB10 you need to use the BB10 WebWorks SDK, not the PlayBook SDK.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: BB10 DevAlpha

George,

how so? do you have example?:smileyvery-happy:

Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: BB10 DevAlpha

[ Edited ]

I used the playbook  ant/cordova  version of the app  and it installed to the dev alpha for visual tests.

 its working although page transitions are slow.

 

 

 

Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: BB10 DevAlpha

I also use Phonegap/Cordova to package, build (,sign) + deploy to BB10 with some changes made to to build.xml, a customized/created bb10.xml and some changes made to the project.properties file to run easily from the command prompt.

 

For the SDK I recommend to use BB10 WebWorks SDK when deploying to Dev Alpha since you might run into trouble with APIs for now or in the future since the BB10 APIs might work somehow different and there also seems to be more APIs available as for the PlayBook.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: BB10 DevAlpha

have smartphone, playbook and BB10 versions of the app. just frustrated getting it on the BB10 device.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: BB10 DevAlpha

when I plug the BB10 into desktop with debugtoken present it says
Device: Blackberry Playbook [Pin: xxxxxxxx]
please enter your device password
New Developer
georgemck
Posts: 36
Registered: ‎12-28-2010
My Device: Red Z10, DevAlpha C, Bold 9900, PlayBook

Re: BB10 DevAlpha

To install an app onto your device, you have to be in developer mode. You can only have developer mode if you have a password on your device. In the settings, under security, you will see the developer mode switch.

 

 

 

Onward to BBJam Asia 2013!
twitter/github: @georgemck http://www.bbdevla.com
New Developer
georgemck
Posts: 36
Registered: ‎12-28-2010
My Device: Red Z10, DevAlpha C, Bold 9900, PlayBook

Re: BB10 DevAlpha

These are my general instructions In order to sign apps for BlackBerry:
Step 1, Order your keys from https://www.blackberry.com/SignedKeys/
Step 2, Register and Create your keys 
 
a) PlayBook/DevAlpha keys using the 2 csj files sent to your email using
blackberry-signer -register -csjpin [csjpin-password] -storepass [store-password] client-RDK-1903387.csj client-PBDT-1903387.csj
This will create 3 files:
author.p12
barsigner.csk
barsigner.db
For more information, consult:
 
b) BBOS 7 and Below keys using the 3 csi files sent to your email using
java -jar SignatureTool.jar client-RBB-1903390.csi
This will create 2 files:
sigtool.csk
sigtool.db
For more information, consult:
c) NFC --- to be determined!!!
 
Step 3, Backup your keys somewhere safe
On Windows 7, mine were installed at 
   C:\Users\georgemck\AppData\Local\Research In Motion
On Mac OSX, it should be at
   ~/Library/Research In Motion
Step 4, Once you have your application's .bar file from Ripple, you need to sign it. 
Ripple takes your application.zip as input and outputs it as application.bar


Sign with

C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.6\dependencies\tools\bin>blackberry-signer -storepass [yourpassword] application.bar


Deploy to device with

C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.1.6\dependencies\tools\bin>blackberry-deploy -installApp -password [yourpassword] -device 169.254.0.1 -package application.bar

 

Onward to BBJam Asia 2013!
twitter/github: @georgemck http://www.bbdevla.com
Developer
Developer
LBP
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: BB10 DevAlpha

georgemck is really right, the post should be pinned to forum start page :Yes:

 

For the password your computer is asking, it is the same you set under  "Security->Development Mode" when you set it to "ON" where it says "Use Development Mode" on the device. It prompts you to add a password and the same password is needed on the computer when connection the device.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Developer
The_Anomaly
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: BB10 DevAlpha

Hey georgemck, nice post.

 

Although I've done all that for my development, learnt it the hard way, it explains in one page what a new developer needs to do across the different platforms.

If it helped you, click like. :smileyhappy: