Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How can I speed up load times on Android (10-15 seconds)?

What can be done to speed up load times? My iRule takes about 13 seconds to launch on my samsung phone, consistently. And 10 seconds on the kindle.

I have a probably about 25 pages, with standard backgrounds, feedbacks, and probably 8 devices, IP and IR. I can't imagine this is the most complicated setup out there. Is it going to get even slower if I add to it?

I haven't tested it out on the iphone yet.

Once I'm in iRule it works well, it doesn't lag very often.
1 person has
this question
+1
Reply
  • Hi Kevin,

    On the Android platform, the device command database must be stored encrypted, so the most of the delay at launch is decrypting the device command database to load it into memory.

    According to the engineers, launch time is highly dependent on the number of devices, and the speed of the handset. If you have a lot of controlled devices in your handset, and an older/slower handset, launches can be a little slow - 15 seconds or longer isn't uncommon. With a few devices typical in a single-room setup, and a newer/faster handset, launch can be as short as a few seconds.

    The encryption and subsequent launch time is a key difference between the iOS and Android versions of the app, however, we'll be working really hard in the coming months to continue developing and optimizing the Android version for the best experience on that platform.

    Regards,
    SC
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • So would there be a worthwhile benefit in creating custom devices and eliminating the feedback and commands that I'm not using? It's a real drag waiting for it to start up.

    This is on a Samsung S3.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • There is a bug which was compounded in the Android 1.5 release, which I have since fixed, but haven't released yet. It cuts down load times a great deal. I would bet 10 - 15 seconds would turn into more like 6 - 8 seconds. It is not perfect but should give you better performance than in any previous version. You still are subject to the encryption which Steve mentioned, but overall performance should be better in the next patch release ( version 1.5.1, most likely ). Keep an eye out for this release.

    Eliminating feedbacks / commands you are not using will theoretically provide a quicker launch time, but I am not sure if you would be able to tell the difference.

    I would hold off on doing anything until the next release, which shouldn't be too far out. No exact date yet.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • FYI, this improved to about 8-9 seconds awhile back, and then with the most recent update is now at 30 seconds! The phone even gives up sometimes and says the app is not responding. Plus the lag to switch panels or use commands initially can be ~5 seconds.

    So it is very annoying to use on my Samsung S2 (not S3). Disappointing. It works decent on the Kindle still at least. All these features and add-ons seem to be bloating the app.

    My next phone will be an iPhone, simply because of iRule.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated