I\'ve looked around and nothing seems to be working from what I\'ve tried so far...
@Override
protected void onCreate(Bundle savedInstanceState) {
su
If you want to show time on textview then better use Chronometer or TextClock
Using Chronometer:This was added in API 1. It has lot of option to customize it.
Your xml
Your activity
Chronometer mChronometer=(Chronometer) findViewById(R.id.chronometer);
mChronometer.setBase(SystemClock.elapsedRealtime());
mChronometer.start();
Using TextClock: This widget is introduced in API level 17. I personally like Chronometer.
Your xml
Thats it, you are done.
You can use any of these two widgets. This will make your life easy.