There is a myMethod(); method myMethod(); you need to run it after a certain time, let's say 45-60 seconds, tried to do it in
new Timer().schedule(new TimerTask() { @Override public void run() { myMethod(); } }, 15000, 40000); / The timer is not accurate and sometimes the interval goes down to 2 seconds. If there are any other timers or some output, I would be very grateful.