Qt Android 5.3 Application Size
-
My android devices as testbed are an LG L7 bought 4 years ago, and a 7'' inch tablet without brand imported from china one years ago and payed about 50€
I didn't do performances checks because I don't know how to profile an android app regarding CPU and RAM usage.
I'll came back after I did more tests and profiling.
-
Some news about memory usage of the Qt app on Android.
Following this guide:
https://developer.android.com/tools/debugging/debugging-memory.html
I checked some usage of my application.
Consider that is an application using Qt Quick (Layout, Controls), Qt Network, Qt Multimedia, Qt Svg and all modules on which these depends on.The memory on disk of this APK is about 40Mb.
When the app runs, the maximum space seen on the heap is 2966K/3468K (active_used / totally_for_the_app )
And the private dirty memory on RAM (the very important for keeping the phone reactive) goes up and down around the 6800K / 2100K (Native / Dalvik ).So, this definitely prove my assumption that the RAM needed is very different from the space needed on disk.
-
Yes, its reasonable. Thanks for the tests !
-
I'm sorry, but such HUGE executables are completely unacceptable.
Keep in mind the entire Win95 operating system required only 55Mb of hard-drive space, which was already big and bloated, compared to RiscOS (4Mb). I see some apps in the Google Play app store are only 24kb or smaller. Now Gianluca is trying to convince us that a Hello-world app of more than x1000 that size is acceptable? I think not! I certaintly won't be using Qt for my next Android project, unless they can SIGNIFICANTLY reduce the APK size. -
I would say that for small apps we can go with pure Java, but man, developing in QtQuick is so much fun ... the main libraries may encapsulate all the things that we commonly dont use. but for a richer app, maybe the 32-33 mb can be acceptable
-
I'm no fan of Java, which is why I'm looking for alternatives.
I must admit, I really like QtQuick, but the APK size makes it a non-starter. On my Samsung SII, a simple QtQuick app takes between 5 and 20 seconds to start, whereas a ADT+NDK app starts up in under a second. Also, Google Play has an APK size limit of 50MB, and a 'richer' app could easily exceed that limit. To make things worse, many devices have a 30MB download cache limit, so even if you get your 32-33 MB app uploaded to Google play, many devices would not be able to download it. Btw. FireMonkey on Delphi/C++ Builder is another excelent RAD tool for developing Android apps, but unfortunately it also suffers from over-size APK's. So, for now I see no choice but to stick to Eclipse ADT+NDK. -
Well, we still have the option of deploy the "small" app and have users to download Ministro from Google Play. None of this would be an ideal solution but answer me honestly: Whats better and more fun than QtQuick for development ? I think we can also believe in its future :)
-
i can kind of see both sides. i understand how this may be a problem for some. for example in the US on some phone providers on some contracts, 30 mb of mobile-network data can incur a significant cost. and it can be quite slow.
on the other hand, Podcasting has become extremely popular in the US, and an ordinary podcast mp3 can frequently be 30MB to 50MB. Videos of course are much much more. i have a feeling most people download these podcasts over wifi to their phone and listen later. this is relatively speedy and works well for many people.
-
i can kind of see both sides. i understand how this may be a problem for some. for example in the US on some phone providers on some contracts, 30 mb of mobile-network data can incur a significant cost. and it can be quite slow.
on the other hand, Podcasting has become extremely popular in the US, and an ordinary podcast mp3 can frequently be 30MB to 50MB. Videos of course are much much more. i have a feeling most people download these podcasts over wifi to their phone and listen later. this is relatively speedy and works well for many people.
-
honestly: Whats better and more fun than QtQuick for development ?
Delpih / C++Builder XE6! -
honestly: Whats better and more fun than QtQuick for development ?
Delpih / C++Builder XE6!