1. #31
    bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    280
    Vote Rating
    44
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about

      0  

    Default


    @slick84 - I haven't noticed any huge bloat when wrapping with PhoneGap. Based on some tests I just ran, the sample app wrapped in PhoneGap and Sencha native packaging has some key differences. The resulting size of the PhoneGap-wrapped app is 684KB. The resulting size of the Sencha native packaged app is 17.2MB. Big difference there, not sure where it comes from. I will say also that the Sencha native packaged app isn't unusable. It is the sample app so take that for what it is. There are plenty of other ways we can make our apps unusable

    @karensilkwood - I'm glad you got everything up and running! I am interested in supporting other platforms. I will have to make sure all else is stable first but if I had my choice, I'd try out Windows 8 first. I was a .NET developer for a while and like the platform.

    @JRS - Yeah, the screencast is now outdated based on some recent updates. I will update that screencast by early next week, sorry for the confusion. Building both together should work in your case since it's basically calling those two separate targets together. You wrote in your post build-cordova-all. The target name to be used should be -build-cordova-all. Could you confirm this is what you implemented? Sounds silly, just wanted to double-check. If that doesn't work, please post your build.xml file and cordova.properties file for a quick inspection.

    Thanks everyone for your feedback and help.

    Brice
    Brice Mason
    Front End Developer
    Modus Create

    @bricemason
    bricemason.com

    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

  2. #32
    Sencha User
    Join Date
    Jan 2011
    Posts
    134
    Vote Rating
    5
    JRS is on a distinguished road

      0  

    Default Sample App is working now

    Sample App is working now


    Hi Brice,

    I verified both your suggestions - I did have the proper spelling in both files - just tried it again and it all worked. It didn't when I posted - just need the word from you I guess!

    Don't know what changed from last night to this afternoon - but it working now - the only thing I did was - I did shut my Mac down and rebooted it this morning - I wonder if that might have had any effect.

    I'll try it on my app - as opposed to the Sencha default app and see how it goes.

    Thanks again for your help and your projects
    Much appreciated
    JRS
    PS: Perhaps you can just an add a note on the screencast to follow directions the readme file
    Also, I added these lines in the cordova.properties (don't know if it is needed or not )
    Code:
    cordova.android.tools.bin.create=${cordova.android.tools.bin}/create
    Code:
    cordova.ios.tools.bin.create=${cordova.ios.tools.bin}/create

  3. #33
    Sencha User
    Join Date
    Jan 2011
    Posts
    134
    Vote Rating
    5
    JRS is on a distinguished road

      0  

    Default Error when trying to build for Anfroid

    Error when trying to build for Anfroid


    Sorry stupid error on my part - there was a debugger statement in one of the files.
    Last edited by JRS; 24 Jan 2013 at 12:38 PM. Reason: Found error

  4. #34
    Sencha User
    Join Date
    Oct 2012
    Posts
    15
    Vote Rating
    0
    erbud is on a distinguished road

      0  

    Default


    Hi guys,


    First of all congratulate Brice, Sencha Cordova Builder is very comfortable and clean.


    I've found an issue when using Sencha Touch 2 (Ext.device.Device) + PhoneGap. We describe in the following post:


    http://www.sencha.com/forum/showthre...ndroidEmulator


    You have found this scenario?


    Regards,

  5. #35
    bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    280
    Vote Rating
    44
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about

      0  

    Default


    @JRS - I'm glad you found the solution. As a side note, you had added that extra line to your cordova.properties file which defined the path to the phonegap 'create' script. This is fine but it wasn't necessary. The latest release of sencha cordova builder will automatically determine the 'create' script to use. This helps it be os-independent. If you were were working in a PC environment, it would have automatically determined that you'd need to use 'create.bat' instead of 'create'

    @erbud - Did you check out the docs on Ext.device.Device? There's a note in there that says that class will only work in the Sencha native packager. The specific snippet states:

    PLEASE NOTE: This currently only works with the Sencha Native Packager. If you attempt to listen to this event when packaged with PhoneGap or simply in the browser, it will not function.

    Here's a link to the docs: http://docs.sencha.com/touch/2-1/#!/....device.Device

    Brice
    Brice Mason
    Front End Developer
    Modus Create

    @bricemason
    bricemason.com

    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

  6. #36
    Sencha User
    Join Date
    Jan 2011
    Posts
    134
    Vote Rating
    5
    JRS is on a distinguished road

      0  

    Default Warning: Build package app didn't work

    Warning: Build package app didn't work


    Hi Brice,

    Thanks for all your help - I have builder working - however, I've noticed my App didn't work in the simulator after the build. After trying to debug it without success, I decided to copy the sources to Corodova www directory and test the app. The app worked without any issues.

    I just wanted to let people know if they run into problems - try the manual method to verify before spending a lot of time - trying to figure out what might be happening with the build package.

    I believe in my case the problems were being caused by the model & store - classes. But haven't really investigated much - just relieved it wasn't my app causing the crash!

    Regards
    JRS

  7. #37
    bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    280
    Vote Rating
    44
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about

      0  

    Default


    JRS,

    Thanks for the feedback. If you uncover any specifics regarding potential bugs in the builder that may have contributed to your troubles, please give me a shout. Your use and critique of the project will help me improve it.

    Brice
    Brice Mason
    Front End Developer
    Modus Create

    @bricemason
    bricemason.com

    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

  8. #38
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      0  

    Default Cordova builder

    Cordova builder


    Hi Brice,

    Would be nice to have such a nice tool

    I watched your video and wanted to use Cordova Builder.
    I downloaded unzipped and install your script on my iMac.
    If I build my app this is reported:

    -is-ios-init-ready:
    [INF] [echo] checking ios initialization using the following resources:
    [INF] [echo] cordova library ~/Downloads/cordova-2.3.0
    [INF] [echo] ios tools ~/Downloads/cordova-2.3.0/lib/ios/bin
    [INF] [echo] ios create script ~/Downloads/cordova-2.3.0/lib/ios/bin/create
    [INF] [echo] ios project /Applications/Dropbox/Quitte/build/Quitte/ios
    [INF] [echo] ios project built state...false
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: one or more of the resources required to initialize the ios project cannot be resolved
    [ERR]

    I dont have a clue where to look to resolve this.

    I get the same if I try the builer for android. The echos then say the same excecpt for android

    I have cordova-2.3.0 and the android SDK installed yesterday.

    Maybe there is something I missed to do....

    Can you help me

    I appreciate your help

  9. #39
    bricemason's Avatar
    Join Date
    Jan 2008
    Location
    Upstate NY
    Posts
    280
    Vote Rating
    44
    bricemason has a spectacular aura about bricemason has a spectacular aura about bricemason has a spectacular aura about

      0  

    Default


    This has to do with the use of tilde expansion paths in your cordova.properties file. Change the path to your phonegap lib from using ~, to the full path and it should work. For example, I tested mine like this:

    Code:
    cordova.lib=~/lib/phonegap-2.3.0
    and got the error but when I changed to the full path:

    Code:
    cordova.lib=/Users/bricemason/lib/phonegap-2.3.0
    it worked fine. Give that a go and post back if you have any other troubles.

    Brice
    Brice Mason
    Front End Developer
    Modus Create

    @bricemason
    bricemason.com

    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

  10. #40
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      0  

    Default cordova builder

    cordova builder


    Ah Brice.

    That make sense. Now there is another problem. In the meantime I switched to cordova-2.2.0. Now it seems it works.
    I dived in the changes cordova made in cordova-2.3.0;

    I know nothing about ant and/or java. But I gave it a try. Here is what I have.

    I discovered that the bin directories of the different platforms are no more in lib/ios, lib/android.
    Instead they are in cordova-ios and cordova-android

    I changed som properties according these changes. But now android isn't build. What I saw is that <target name="-init-android-internal" never executed. I can't figure out why!!.

    I know you can.

    Did you allready have patched the builder for cordova 2.3.0???

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."