Android: ProgressDialog.show() crashes with getApplicationContext
I am using Android version 2.1 with API Level 7. I faced with this (or similar) problem and solved by using this: Dialog dialog = new Dialog(this); instead of this: Dialog dialog = new Dialog(getApplicationContext()); Hope this helps 🙂