Widget that counts down
<p>I have a widget That counts down to a Specified date. For example: It's December 10 were 2 days.
I would like to show how many hours and even minutes left. How to do it? Please help me.</p>

<p>Code:</p>

<pre><code>         @Override
         public void run() {
            Date date1 = new Date();
            Calendar calendar = new GregorianCalendar(2012, 11,11);
            long days = (((calendar.getTimeInMillis()- date1.getTime())/1000))/86400;
                 remoteViews.setTextViewText(R.id.xmas,""+ days);
                 appWidgetManager.updateAppWidget(thisWidget, remoteViews); 
         }
</code></pre>
