Unanswered: How to Package / Deploy Sencha touch App on Blackberry Device
Unanswered: How to Package / Deploy Sencha touch App on Blackberry Device
Hello ,
Please give me any information or doc for How to packging / Deploy Sencha applicaion on Blackberry Device.I found many sites but no one can give any info about this.So Please I request you give me Sencha with Blackberry Integration any link or demo.
check this site https://build.phonegap.com . If you upload sencha project they will build your project in Android,Ios,Blackberry ,windows and etc its free try it out.
Hi,
Please give me details about how to deploy project in Blackberry.I use Blackberry webwork eclipse and download (import) phonegap coradova.jar in that EXT folder.and sencha application demo files pasted in that demo project also.Package complete (Build success) but not run.
Please give me details about Sencha app on Blackberry Using phonegap.
the way to get a build for blackberry using https://build.phonegap.com looks promising to me. No installation, just upload the sources and get back a ready to use app.
Question:
What sencha files do I have to upload? The generated all-classes.js and the index.html?
If so, there would remain one problem: I went through the sencha doc and tried to generate a build. I used sencha command line and it worked until I comes to edit the index.html. My index.html does not look like in the docu. So I don't know what to edit ...
I'm using sdk 2 beta3 and sencha touch 2.0.3. My app is using mvc - just in case this matters
You can use the BlackBerry WebWorks packager to package your Sencha touch app and deploy as well. For more info using BlackBerry Webworks packager, proceed to this URL, https://developer.blackberry.com/html5/documentation/
thanks for the reply. Does this mean
1. I can develop my app in sencha touch 2.0.3 as usual
2. Then I transfer my sources, e.g. app.js/indext.html/mainview.js and so on to WebWorks folders
3. I do not need to edit this files additionally or use sencha sdk
4. Instead I run WebWorks (and ripple to emulate if I'd like)
That is correct. When you package the Sencha project with the WebWorks Packager, you need to create a configuration file, config.xml. The details can be found here, https://developer.blackberry.com/htm...969844_11.html.
After creating the configuration file, you can build the project using the Webworks packager.
I got everything installed and can play my app within ripple emulator. Looks nice. Thanks so far.
Even though the WebWorks documentation is very detailed, I don't succeed building my app. It looks like my config.xml is not correct. I copied the example config.xml and changed some entries. Ripple says that either the config.xml is not in the root directory or malformed. I saved it to the same directory like my index.html - so it should be the correct directory. My config.xml currently looks like:
<rim:permissions> </rim:permissions>
</widget>
When I generate a .zip including all my sencha files and directories (app, resourced and sdk) and run bbwp I get a bunch of errors with invalid file names. All names with spaces and ".xxx". When I now delete them bbwp runs but brings the following errors:
[Warning] Failed to find <feature> element
Exported static routine .main(String[]) is multiply defined
jline.ANSIBuffer: Error! Missing stack map in: toString at label 11
[Error] RAPC exception occured
Follow the directions to build a new app via the command line, drop your code into the www directory, update the config.xml file (they provide one that will work for you), and also update the .properties file.
It's actually rather straightforward and works.
Originally Posted by niko.kleiner
Hi Naveenan,
I got everything installed and can play my app within ripple emulator. Looks nice. Thanks so far.
Even though the WebWorks documentation is very detailed, I don't succeed building my app. It looks like my config.xml is not correct. I copied the example config.xml and changed some entries. Ripple says that either the config.xml is not in the root directory or malformed. I saved it to the same directory like my index.html - so it should be the correct directory. My config.xml currently looks like:
<rim:permissions> </rim:permissions>
</widget>
When I generate a .zip including all my sencha files and directories (app, resourced and sdk) and run bbwp I get a bunch of errors with invalid file names. All names with spaces and ".xxx". When I now delete them bbwp runs but brings the following errors:
[Warning] Failed to find <feature> element
Exported static routine .main(String[]) is multiply defined
jline.ANSIBuffer: Error! Missing stack map in: toString at label 11
[Error] RAPC exception occured
thanks for another option. I found the problem: I need to run bbwp with local administrator privileges. Also, I must include index.html, config.xml, app.js and the folders app, resources into my archive file. In app and resources I just need to take care of wired file names, change them, then it looks fine.
-Niko
P.S. But I'm not sure since I can't test my app - our company has restrictions on blackberry and after app installation I get run time errors due to access violations. Painful ...