I just tried to implement a progressdialog and I have some issues to change the text during my long and complex calculations.
for (String aString:myStringArr
Just found the answer, that's working fine:
runOnUiThread(changeMessage);
with that code:
private Runnable changeMessage = new Runnable() { @Override public void run() { //Log.v(TAG, strCharacters); m_ProgressDialog.setMessage(strCharacters); } };