Close (finish) a Activity before, to ensure that the subsidiary in the above Dialog or PopupWindow have been closed (dismiss).
Is also available at OnCreateDialog (Dialog) to create, let the system to manage the dialog box

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • FATAL EXCEPTION: AsyncTask #1
    via by maulidan abdillah,
  • error in json parser in eclipse
    via Stack Overflow by user3312672
    • android.view.WindowLeaked: Activity com.example.androidhive.NewProductActivity has leaked window$DecorView@40541df8 that was originally added here at android.view.ViewRoot.<init>( at android.view.WindowManagerImpl.addView( at android.view.WindowManagerImpl.addView( at android.view.Window$LocalWindowManager.addView( at at com.example.androidhive.NewProductActivity$CreateNewProduct.onPreExecute( at android.os.AsyncTask.execute( at com.example.androidhive.NewProductActivity$1.onClick( at android.view.View.performClick( at android.view.View$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    1 times, last one,
    2 times, last one,
    Hiren AmaliyarHiren Amaliyar
    1 times, last one,
    Indri YunitaIndri Yunita
    8 times, last one,
    1 times, last one,
    71 more bugmates