Android app starts very slow at first launch but normally on next launches
<p>I create quite a heavy app using Eclipse and deploy on 4.2.2 device. At the very first launch, it takes quite a long time (3~5 seconds) until UI is displayed completely. After that, even after app killing and restart, everything goes fast, take 0.5 second for launching.
So is this normal phenomenon, and if yes, what's the essential root cause? I'm thinking of kind of byte code compile or caching, etc, that is executed only once.
One more question, what should I do to optimize this launching time.</p>