1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Sofia
    Posts
    112
    Vote Rating
    3
    mx_starter is on a distinguished road

      1  

    Default Unanswered: "sencha app build native" Vs. "sencha package build"

    Unanswered: "sencha app build native" Vs. "sencha package build"


    I'm a little bit confused with these two options available in Sencha Cmd (3.0.0.250).
    Just found that there are some changes in 3.0.1, particularly "sencha package" becomes "sencha app package" according to this thread:
    http://www.sencha.com/forum/showthre...-Now-Available

    But now the official recommended Cmd version is 3.0.0.250.

    So - with 3.0.0.250, Touch 2.1.0 under Windows 7 and the Getting Started sample app (generated using "sencha generate app" command) - i decided to do an Android native build using either of the commands.

    Both use the same packager.json config file and the results are:

    when using: sencha app build native command:
    An .apk file with size of 540 K

    when using: sencha package build packager.json command:
    An .apk file with size of 5534 K

    This is 10 times difference in the size!

    Why is that - and why the both options for native packaging exist?

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    Sofia
    Posts
    112
    Vote Rating
    3
    mx_starter is on a distinguished road

      0  

    Default


    Still no comments - is the question meaningless??

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -2
    venkatesh.R will become famous soon enough

      0  

    Default


    @mx_starter,


    I am getting same results when i compiled custom build for native packaging with the following commands.
    For native android packging with my application,

    sencha app build native - 2.43 mb

    sencha app package run packager.json - 10.3 mb.


    I don't know why these variations on above commands!!



    Thanks.

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    35
    Answers
    1
    Vote Rating
    0
    fatfly is on a distinguished road

      0  

    Default Same

    Same


    I have the same situation.
    But what is even more confusing is that with "sencha app build native", the app is not working properly. (navigation view not working)
    with "sencha package build packager.json" the app is fully working.

  5. #5
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -2
    venkatesh.R will become famous soon enough

      0  

    Default Using Sencha Cmd Tool

    Using Sencha Cmd Tool


    Hi,

    Any solution(clarification ) for this issue from sencha people

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    1
    manujanardhanan is on a distinguished road

      0  

    Default


    i think "sencha app build native" compress/minifiy the js and css files, also remove unwanted files.. while 'sencha app package ' just package the whole app..

  7. #7
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -2
    venkatesh.R will become famous soon enough

      0  

    Default Which Command for Native build

    Which Command for Native build


    Hi,

    I am also thinking the same. But which command should we use for native packaging?

    In the docs there is no explanation either

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

    or

    here

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




    Thanks

  8. #8
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    1
    manujanardhanan is on a distinguished road

      1  

    Default


    For native packaging we can use the following commands

    Step 1
    sencha app build production
    ( will create files under ./build/myApp/production )


    Step 2
    sencha app build native
    ( will create native files under ./build/native/myApp.app [for ios] )

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar