Countdown Tutorial for Andengine

Hi,I am looking for a countdown tutorial using Andengine.This is what i need to do with app ie i need to count till specific date and when it reaches that date it must show some message and when that date passes by it must once again show countdown till that date for next year.How to implement this.i searched for various tutorials but am unable to find out.Hope someone would help me.

Christmas Countdown?

Yes :slight_smile: Halloween,Christmas,Newyear.A basic countdown code required.

I think you need a Text() object … make sure the font has all numbers assigned to it. Initialize it with the maximum number of letters.

Then add some java …

	Calendar calendar = new GregorianCalendar();
	Integer minutes     = calendar.get(Calendar.MINUTE);
	Integer seconds     = calendar.get(Calendar.SECOND);


Then you might want a loop… you know… to update the time left.