Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8925963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:50:25+00:00 2026-06-15T07:50:25+00:00

While developing an app based on sencha touch 2.1 and cordova/phonegap 2.2.0, I have

  • 0

While developing an app based on sencha touch 2.1 and cordova/phonegap 2.2.0, I have noticed a strange behavior by netbeans.

When my App become bigger, I started to use sencha cmd (3.0.0.250) to minify (production build) my js-css-html code. So I created a batch file and added it to the build.xml (pre-compile). I also edited the activity class to point to the sencha cmd build output. So in the Assets/www path there is my “readable” js, html, … code and also the minified code.

Now When I build the app, the apk file is up to 8mb.

But when I delete the “readable” js-html-css code before build (also don’t use a batch script) then the size of my apk is only 600kb.

In both cases the performance is the same.

Is this a normal behavior of Netbeans? How to avoid that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:50:27+00:00Added an answer on June 15, 2026 at 7:50 am

    Now i understand this behavior. all files within assets/www are put into apk.

    my project included all (sencha stuff, phonegap stuff). i think splitting them is better. Now i have a project, that containing the js/html/css stuff – e.g. fast debugging with chrome. for every target platform i have a own project (using for build). e.g. android-10, android-15, ios … i make us of some ant pre-compile commands to first build sencha, than copy output and finally build the apps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a web app based on django for a while. At the
I have got a runtime exception while developing an App. Here is my LogCat.
I have been using jQuery while developing an app with the Rally 2.0 SDK.
Today I got an error while I was developing an app based on PHP,
While developing an app in HTML and jQuery, I have a loading screen that
While developing a Grails 1.0.5 app I'm appalled at how slow the grails test-app
while i'm developing my android app on my HTC sensation, i can't run the
I am developing a small app while learning Android. The app is basically making
I've been developing an enterprise iPad app for a while now. Since the app
While developing my ASP.NET MVC, I have started to see the need for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.