Membuat jam sekarang pada android
public void jam() {
Date currentTime = new Date( System.currentTimeMillis() );
//ada menitnya final SimpleDateFormat formatterTime = new SimpleDateFormat( "H:mm:ss" );
SimpleDateFormat formatterTime = new SimpleDateFormat( "H:mm" );
jam.setText( formatterTime.format(currentTime) ); // jam = edittext anda
}