Method of one class not getting called from another class

view story

http://stackoverflow.com – I have written a class inside one activity to display a hh:mm:ss timer in my activity: This is code of the class designed to show the timer: //class to display on screen timer class ShowTimer { long mMilliseconds = 120000; SimpleDateFormat mSimpleDateFormat = new SimpleDateFormat("HH:mm:ss"); CountDownTimer mCountDownTimer = new CountDownTimer(mMilliseconds, 1000) { @Override public void onFinish() { mTextView.setText(mSimpleDateFormat.format(0)); } public v (HowTos)