1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    15
    Answers
    1
    Vote Rating
    1
    crsssl is on a distinguished road

      0  

    Default Unanswered: Including HTML (or other) files in a package

    Unanswered: Including HTML (or other) files in a package


    I have some HTML (and other) files containing help/FAQ and other information for my app.

    FYI: I retrieve the text contents of these files using an Ext.Ajax.request, and load them into a panel using the usual panel.setHtml() call.

    I was wondering where would be the best directory to store these so that they will be included when building the native app?

    I tried putting them in a subdirectory of /my-app-name/app/, but they don't get included (I suppose because they are not .js files). Should I put them somewhere else? Or is there, for example, some app.json directive I need to set for getting non-.js files to be included on the native build?

    Thanks again in advance.

  2. #2
    Sencha User
    Join Date
    Sep 2012
    Posts
    15
    Answers
    1
    Vote Rating
    1
    crsssl is on a distinguished road

      0  

    Default Never mind

    Never mind


    I looked around and saw, in the app.json file, the following:

    Code:
        /**
         * Extra resources to be copied along when build
         */
        "resources": [
            "resources/images",
            "resources/icons",
            "resources/startup"
        ],
    I just created a directory in resources and stuck my files there. Works like a charm.

Tags for this Thread

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..." hd porno faketaxi