/[projects]/android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java
ViewVC logotype

Diff of /android/AndroidUtils/src/dk/thoerup/androidutils/CheckUpdates.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1128 by torben, Fri Sep 24 10:57:28 2010 UTC revision 1129 by torben, Fri Sep 24 11:06:02 2010 UTC
# Line 1  Line 1 
1  package dk.thoerup.checkupdates;  package dk.thoerup.androidutils;
2    
3  import java.io.ByteArrayOutputStream;  import java.io.ByteArrayOutputStream;
4  import java.io.IOException;  import java.io.IOException;
# Line 157  public class CheckUpdates { Line 157  public class CheckUpdates {
157                          //int icon = android.R.drawable.sym_action_email; //TODO: find a better icon                          //int icon = android.R.drawable.sym_action_email; //TODO: find a better icon
158                          int icon = R.drawable.searchicon;                          int icon = R.drawable.searchicon;
159                                                    
160                            
161                          Notification notification = new Notification(icon, "Update available", System.currentTimeMillis() );                          Notification notification = new Notification(icon, "Update available", System.currentTimeMillis() );
162                          notification.flags |= Notification.FLAG_AUTO_CANCEL ;                          notification.flags |= Notification.FLAG_AUTO_CANCEL ;
163                                                    

Legend:
Removed from v.1128  
changed lines
  Added in v.1129

  ViewVC Help
Powered by ViewVC 1.1.20