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
Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10

Packaging a sencha touch2 application on Blackberry10 webworks

How to package a sencha touch application on Blackberry10 webworks? I am new to blackberry application development please help me out in packaging the application? i dont want to use phonegap as mediator for packaging sencha touch application in BB10

--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Packaging a sencha touch2 application on Blackberry10 webworks

Great question.  We have a number of getting started learning resources published that help new developers

 

Check out this page:

http://developer.blackberry.com/devzone/develop/platform_partners/sencha.html

 

Getting started:

https://developer.blackberry.com/html5/documentation/creating_blackberry_webworks_applications_with_...

 

 

Here is a tutorial:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Introducing-Sencha-Touch-2-1-on-...

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Packaging a sencha touch2 application on Blackberry10 webworks

If I'm not mistaken, none of the above links cover what someone needs to do in order to prepare a Sencha touch app for WebWorks.

You will need to use Sencha cmd to package your app into something that Webworks can package into a BlackBerry app. See this:

http://docs.sencha.com/touch/2-1/#!/guide/command_app

Use this command:

> sencha app build package

 

All the files will be in a build/package folder and that will be the source folder that you can give WebWorks so that it can sign your app and create the bar file.

 

If you want to debug you app, use:

sencha app build testing

and the files will be in build/testing

 

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10

Re: Packaging a sencha touch2 application on Blackberry10 webworks

i tried doing the same thing but i faced an issue with compass, waht is compass exactly, how to resolve those errors?

--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Packaging a sencha touch2 application on Blackberry10 webworks

Compass is what allows you to generate your customised theme based on modifictions made to your .scss files.

It's possible to skip this step if you already have the final version of your css in your production resources folder.

 

Just add

skip.sass

to your

.sencha\app\sencha.cfg file

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.