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
New Developer
Posts: 4
Registered: ‎04-23-2012
My Device: PlayBook
My Carrier: Free

Create an App Using Sencha Touch for PlayBook

Hi all,

 

I would like to create a web (looking native) application for PlayBook. So I decided to use sencha.

 

I've downloaded Sencha Touch SDK (almost 200Mo) and I created my index.html, app.js, config.xml files and imported sencha-touch.js.

 

So as far as I understood, I need to use Ripple to package my app and so on create a bar file.

So in Ripple, I give the root of my project. Inside this folder, there is the whole Sencha Touch SDK (because if I delete it and keep only sencha-touch;js, it doesn't work anymore). Then when I click on "Package", Ripple creates just a zip file in the output folder and the size of this file is 85Mo for only 10 lines of code in the HTML file !

 

So my questions are :

  1. How do I need to do with this $£*µ# Sencha Touch SDK ?
  2. How can I create a bar file to add my app to Blackberry World ?

 

Thanks in advance Smiley Happy

Thomas.

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Create an App Using Sencha Touch for PlayBook

[ Edited ]

The answer to your questions

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

2. https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/packaging_your_app_in_ripple_1...

 

And you only need to include the compiled version of the ST library in your index.html for the app to work.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Highlighted
New Developer
Posts: 4
Registered: ‎04-23-2012
My Device: PlayBook
My Carrier: Free

Re: Create an App Using Sencha Touch for PlayBook

[ Edited ]

Hi,

thank you for you answers. I'll lookt at it tomorrow.

Have a nice day

 

EDIT:

In fact, I'm using Windows 7 64bit and I can't create the jsb3 file (sencha create jsb -a index.html -p app.jsb3)

So I can't create my custom build :'(