/[projects]/android/Side9/src/dk/thoerup/side9/Side9WidgetProvider.java
ViewVC logotype

Diff of /android/Side9/src/dk/thoerup/side9/Side9WidgetProvider.java

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

revision 689 by torben, Wed Apr 28 14:40:33 2010 UTC revision 690 by torben, Wed Apr 28 14:45:26 2010 UTC
# Line 43  public class Side9WidgetProvider extends Line 43  public class Side9WidgetProvider extends
43                            
44                            
45              // Launch a browser when user clicks on the image              // Launch a browser when user clicks on the image
46              Intent viewIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(Side9Xml.BASEURL));              Intent viewIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://ekstrabladet.dk/side9/"));
47              viewIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);              viewIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
48              PendingIntent pending = PendingIntent.getActivity(context, 0, viewIntent, Intent.FLAG_ACTIVITY_NEW_TASK);                                    PendingIntent pending = PendingIntent.getActivity(context, 0, viewIntent, Intent.FLAG_ACTIVITY_NEW_TASK);                      
49              views.setOnClickPendingIntent(R.id.side9picture, pending);                                    views.setOnClickPendingIntent(R.id.side9picture, pending);                      

Legend:
Removed from v.689  
changed lines
  Added in v.690

  ViewVC Help
Powered by ViewVC 1.1.20