8

Why I am getting WindowLeaked when trying to show dialog inside a custom class?

view full story
linux-howto

http://stackoverflow.com – I am trying to create an AlertDialog, I have done this hundred of times but this time it is not working. I have this code on my onResume() method in my activity: @Override protected void onResume() { super.onResume(); if (DEBUG) Log.i("BrazoRobot", "onResume()"); isSystemRdy = false; mBluetoothHelper = new BluetoothHelper(this, bluetoothName); mBluetoothHelper.connect(); mBluetoothHelper.setOnBluetoothConnected(this); } The object BluetoothHelper is correctly created and I am passing the activity context to it: public BluetoothHelper (final Context ctx, fin (HowTos)