I get this error \"Can\'t create handler inside thread that has not called Looper.prepare()\"
Can you tell me how to fix it?
public class PaymentAc
Try
final Handler handlerTimer = new Handler(Looper.getMainLooper()); handlerTimer.postDelayed(new Runnable() { public void run() { ...... } }, time_interval});