Very long "First Start"

5 posts, 0 answers
  1. dobiczek
    dobiczek avatar
    6 posts
    Member since:
    Jul 2013

    Posted 18 Dec 2013 Link to this post

    Hello,
    we are building an app for ios and android. Inside are roundabout 1000 thumbnails, so the size of the app is bit bigger, but less than 20 MB.
    We developed with a subset of the data, so for us everything was fine. Now we wnated to release and inserted all data.

    On IOS everything is fine, but on Android (i.e. Galaxy S4) the "First Start" will take very long. I am not talking about 30 seconds, i talk about 5++ or even 10 minutes!!!
    When we remove almost all graphic files it is getting faster, but still slow.

    Is there something we are doing wrong? I can't image that the unpacking of 40MB (apk size) can take that long.

    And I am afraid no customer will accept this.
    On IOS this no Problem at all.


  2. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 20 Dec 2013 Link to this post

    Hi Holger,

    Are you building your application in Debug or Release configuration for Android? When an application is built in Debug it includes the LiveSync functionality which extracts your application contents on the SD card on the very first run in order to enable LiveSync updates. I assume that this causing the slow startup on your side. You can find more information here how to enable or disable LiveSync.

    Note: When you build for publishing the build is using the Release configuration.

    Regards,
    Stefan Dobrev
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. dobiczek
    dobiczek avatar
    6 posts
    Member since:
    Jul 2013

    Posted 20 Dec 2013 Link to this post

    Hello Stefan,

    thanks for your reply.
    You are absolutely right and we realized this yesterday evening.
    You have just been quicker with your reply.
    But nevertheless I am really happy about your answer, because now I know WHY Debug is that slow.
    On IOS this doesn't matter, so we don't had this in mind.
    Now it is clear. But is a SD Card really so slow? When I copy the same amount of data manually to the SD Card it is a lot faster.
    I ask this because we are planning to do updates over the file system. And I guess downloaded files are stored in SD too.

    Again, thanks a lot for this perfect answer.


    BR

    Holger
  4. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 21 Dec 2013 Link to this post

    Hello Holger,

    The SD card is not that slow. The slowness comes from the fact that all content files are embedded as assets in the apk file. Icenium needs to "extract" those assets using the AssetManager class one by one and then copy them over the SD card which results in the current experience. Nevertheless we will look into ways how to improve this.

    Hope this helps,
    Stefan Dobrev
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  5. dobiczek
    dobiczek avatar
    6 posts
    Member since:
    Jul 2013

    Posted 22 Dec 2013 Link to this post

    Hi Stefan,

    good to know, now I am relieved that there will be no performance problems if we copy/download something by our own to SD.

    As one needs to install the app only for "harder" changes, like added plugins etc., it is not a big issue that installing takes that long. But wait, probably my customer wants me to add another 1000 small thumbs and than it will take 20 minutes. So it is good to know that this is on your agenda, even if it is not on the top of the list ;)

    Thanks again and enjoy the Christmas time.

    BR

    Holger
Back to Top