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

Diff of /android/CheckUpdates/src/dk/thoerup/checkupdates/CheckUpdates.java

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

revision 727 by torben, Tue May 11 09:18:10 2010 UTC revision 728 by torben, Tue May 11 09:24:31 2010 UTC
# Line 141  public class CheckUpdates { Line 141  public class CheckUpdates {
141                                          builder.setPositiveButton("Yes", new OnClickListener() {                                                                                          builder.setPositiveButton("Yes", new OnClickListener() {                                                
142                                                  public void onClick(DialogInterface dialog, int which) {                                                  public void onClick(DialogInterface dialog, int which) {
143                                                          Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + packageName) );                                                          Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:" + packageName) );
144                                                            i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK );
145                                                          try {                                                          try {
146                                                                  context.startActivity(i);                                                                  context.startActivity(i);
147                                                          } catch (Exception e) {                                                          } catch (Exception e) {

Legend:
Removed from v.727  
changed lines
  Added in v.728

  ViewVC Help
Powered by ViewVC 1.1.20