I have compiled my application for android it works .
But I have a file js configuration under app/config/Constants.js for my application.
Is it possible to have this file and these parameters in android application ? or in options when I install file apk ?
What you need to do is make sure that the file is required using Ext.require. In the past I've done this right at the top of my app.js file, not sure if this is best practice.
The issue is, that if you don't do Ext.require, an app may still survive during testing - because when it comes across a reference to this config class, it will load in the file during runtime with Ext.loader.
However, the production builder doesn't have the luxury of being able to load files in at runtime, as of course it's building one single minified file up front. So the Ext.require('Class name'); line tells the build script to also include this class definition in the single minified file.
in fact it is an application with constants that the administrator will be able to change (I work with
openlayers.org , vectors layers can change the outline color, etc .....), the administrator must go in this file and then edit these constants, redeploy application that uses these variables.
The Users can not configure it.
So I still wouldn't like having the Constants class dynamically loaded at runtime. I've tried similar arrangements and the reason I don't like it is because I want my app executing as similarly as possible between my testing, development and production environments.
I would setup the Constants as a model, and also give them a store, that loads them in from a JSON file. Your admins can then edit the JSON file, and you can still get Sencha Cmd to build all of the code of the app into a single minified file.
One gotcha here is you need to make sure, as with all other local JSON stores, to require the JSON file in the app.json file.
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..."