What's happening between onResume and the activity is really displayed?

Posted by Johnny on Stack Overflow See other posts from Stack Overflow or by Johnny
Published on 2010-05-28T02:41:35Z Indexed on 2010/05/28 2:51 UTC
Read the original article Hit count: 262

Filed under:

I didn't nothing in the onResume of my Activity, but it still takes about 5 seconds between the onResume is called and the activity is really displayed.

What's happening under there?

Here is the code snip:

onResume:

@Override
protected void onResume() {
    Log.d(TAG, "on resume >>>");
    super.onResume();
}

logcat:

05-28 10:36:05.621 D/LoginDialogActivity(  447): on resume >>>
05-28 10:36:06.231 I/ARMAssembler(   52): generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x3e3358:0x3e33fc] in 5646001 ns
05-28 10:36:10.690 I/ActivityManager(   52): Displayed activity com.aimi.appstore/.ui.activity.LoginDialogActivity: 5169 ms (total 5331 ms)

AndroidManifest.xml:

<activity android:name=".ui.activity.LoginDialogActivity"
        android:theme="@android:style/Theme.Dialog" />

© Stack Overflow or respective owner

Related posts about android