Skip to main content
yagogak
Inspiring
October 21, 2011
Question

IPhone Packager, weight and start up performance

  • October 21, 2011
  • 1 reply
  • 403 views

Hi All

I have a question about the Iphone packager, but first i can describe my main project structure.

project-api ( only interface ) - swc - 32ko

project-core ( implementation ) - swc - 825ko

project-flex-app - swf - 2.000 ko

project-mobile-core ( implementation of project api for mobile device ) - swc - 99ko

project-mobile-app - swf size - 2.800 Ko

project-mobile-app - IPA - 12.390 Ko

Note that there is a lot of other dependencies such as springactionscript, crytoUtils etc...

Im actually using flashbuider 4.5, flex 4.5.0

So the problem is, my IPA weight 12 Mo. Once the application is deployed on the phone, it weights 30 Mo

If i take a look at the mysizereport.xml ( with -size-report=mysizereport.xml compiler option )

swf             2.804.641

ActionScript          2.329.103

Fonts                     70.516

Sprite                      9.022

Shape                     41.981

Bitmpas                    306.477

Data                      19.035

frame data                 27.001

So im asking why IPA is so huge, why my application take 18 seconds to start, and what can i do for

reduce size and start time. Is IPP include all as class in the IPA ?

Note: once the application is started, performance are good.

Thanks in advance

This topic has been closed for replies.

1 reply

October 21, 2011

Hi All

Im also having performance issues when launching an as3 app (1.2mb apk), but on android (havnt tried iphone yet).

I dont have an answer but a few observations.

1) Install app onto mobile using adb install myapp.apk . Launching initially on android the app takes 18 seconds ish to load. App plays fine. Now kill/ close the app. Relaunch the app. The app now launches in 2 seconds...

2) Relaunch the app several times and it loads in 2 seconds each time.

3) Turn off the mobile device for a few minutes. Switch back on. Launch app, app loads in 2 seconds.

4) Delete/ remove app from mobile device. Reinstall using adb install myapp.apk. Launching takes 18 seconds. Kill the app. Relaunching takes 2 seconds...

Like i say, no answers here but just a few observations...all i can assume from this is that as3 apps are very slow to run on initially, typically 18 seconds, but run fine ever after....??

Why is the app so slow to launch initially? If anyone has any thoughts on any of the above id be very interested to hear them.

Thanks in advance