Hi all,
I have a textview in an activity, and when I switch to that activity it won't show the date in it...
this is the code I wrote inside the onCreate() method..
TextView tv = (TextView)findViewById(R.id.txtCurrentDate);
String ct = DateFormat.getDateInstance().format(new Date());
tv.setText(ct);

my id's are correct, but it won't show the date in the textview...
I want the date to show in the textview when I move from the main activity to the new activity..

any idea's?