Hi,
I am using the app builder(terminal) for creating the app package along with SDK. But now when I load the app on my phone, it takes about 60 seconds to load the app. How can I compress the whole framework so that it takes faster to load the app.

Thanks!

31 Jul 2012, 9:28 AM

jerome76

Do you use the sencha-touch.js or the debug versions? The regular ones should be minified which should help with the load time.

31 Jul 2012, 9:30 AM

drmonal86

I am using the SDK package which has sencha-touch.js , sencha-touch-all.js

31 Jul 2012, 9:46 AM

jerome76

I think you have the same problem as this thread that was posted yesterday.

2 Aug 2012, 4:42 AM

mitchellsimoens

Are you using Sencha Command? When you do a build it will minify ST2 and also your application files

28 Dec 2012, 3:29 AM

isaid

Sencha Cmd

hallo,
i just want to compress the js and css files before i put them in eclipse/phoneGap to make an apk Android file, but no way, i tried Sencha Cmd, went to the Application directory:
D:\Daten\xampp\htdocs\Customer then made a buil.bat file which says: sencha app build
but i get an error:
Sencha Cmd v3.0.0.250
[ERR] Please ensure this command was executed from a valid application
directory
[ERR] Unable to locate 'app.dir' config property from sencha.cfg
I tried it bevor from Architekt but it is not working too, packaging and build is not working though Architekt or directly through Cmd.
I would like to have a complete example or video to explain how to use cmd to compress the application.
thanks
isaid