--- android/CheckUpdates/src/dk/thoerup/checkupdates/CheckUpdates.java 2010/07/01 05:43:10 944 +++ android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java 2010/09/24 11:06:02 1129 @@ -1,4 +1,4 @@ -package dk.thoerup.checkupdates; +package dk.thoerup.androidutils; import java.io.ByteArrayOutputStream; import java.io.IOException; @@ -24,7 +24,7 @@ import android.util.Log; public class CheckUpdates { - final static long TIMESPAN_DAY = /*24*60*60* */1000; // one day + final static long TIMESPAN_DAY = 24*60*60*1000; // one day final static String CHECKUPDATES = "CheckUpdates"; final static String LASTCHECK = "lastcheck"; @@ -157,6 +157,7 @@ //int icon = android.R.drawable.sym_action_email; //TODO: find a better icon int icon = R.drawable.searchicon; + Notification notification = new Notification(icon, "Update available", System.currentTimeMillis() ); notification.flags |= Notification.FLAG_AUTO_CANCEL ;