I have not tested this solution.
To summarize all of the above
Front
<script>
function createTimer(delay) {
setTimeout(function() {
try {
// AnkiDroid
showAnswer();
} catch {
// Desktop
pycmd("ans");
}
}, delay);
}
createTimer(20000); // 20 seconds
</script>
Back
<script>
function createTimer(delay) {
setTimeout(function() {
try {
// AnkiDroid
buttonAnswerEase1();
} catch {
// Desktop
pycmd('ease1');
}
}, delay);
}
createTimer(20000); // 20 seconds
</script>
Substitute your value instead of 20000 (20 seconds).
Again:
buttonAnswerEase1();
pycmd(‘ease1’);
Hard:
buttonAnswerEase2();
pycmd(‘ease2’);
Good:
buttonAnswerEase3();
pycmd(‘ease3’);
Easy:
buttonAnswerEase4();
pycmd(‘ease4’);