Communicate with android activity in a normal java class
<p>Dear all
  I have an android activity and a normal .java class which contains an "onChange" function(the function is called whenever properties of my skype contact are changed)</p>

<p>When I try to call an alertdialog.show() in my onChange function, I got error "Can't create handler inside thread that has not called Looper.prepare()", what should I do to show a message in my activity? thanks in advance</p>
