7

Clear Way To Update Widget TextView

view full story
linux-howto

http://stackoverflow.com – The amount of time ive spent trying to get methods like Timer, BroadcastReceiver, AlarmManager etc. to work. All i need is a clear way to update the widget or textview every second. java.util.Date noteTS = Calendar.getInstance().getTime(); String time = "kk:mm"; String date = "dd MMMMM yyyy"; views.setTextViewText(R.id.tvTime, DateFormat.format(time, noteTS)); views.setTextViewText(R.id.tvDate, DateFormat.format(date, noteTS)); I basically need this to set the text either when the time changes or update every second. Every method ive tried has failed. Can someone please give me the best (HowTos)