diff --git a/Android/Warpzone Status Widget/.classpath b/Android/Warpzone Status Widget/.classpath index 7bc01d9a9c6873b7e4fea3b29ee945267845ae86..aa7211bdb6a5902c07b5808b510e3e85ff134cf5 100644 --- a/Android/Warpzone Status Widget/.classpath +++ b/Android/Warpzone Status Widget/.classpath @@ -3,6 +3,7 @@ <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> + <classpathentry kind="lib" path="libs/android-support-v4.jar"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> <classpathentry kind="output" path="bin/classes"/> diff --git a/Android/Warpzone Status Widget/libs/android-support-v4.jar b/Android/Warpzone Status Widget/libs/android-support-v4.jar index 6080877d4ade158f24ad7ccd9a10db2ac9060b47..9056828a04daaded875fbfaa106cf3e2305fe386 100644 Binary files a/Android/Warpzone Status Widget/libs/android-support-v4.jar and b/Android/Warpzone Status Widget/libs/android-support-v4.jar differ diff --git a/Android/Warpzone Status Widget/project.properties b/Android/Warpzone Status Widget/project.properties index a3ee5ab64f5e1901414e83e26717725e035b2aae..ce39f2d0a061116c8dfd41e74b2bfd54ff4d554b 100644 --- a/Android/Warpzone Status Widget/project.properties +++ b/Android/Warpzone Status Widget/project.properties @@ -11,4 +11,4 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-17 +target=android-18 diff --git a/Android/Warpzone Status Widget/src/ms/warpzone/warpzonestatuswidget/UpdateWidgetService.java b/Android/Warpzone Status Widget/src/ms/warpzone/warpzonestatuswidget/UpdateWidgetService.java index 2bbca2668446cf0ea113be9459c3ba998fbad39f..5eb6a6b30e709aecc753d9528dde846623df8c6e 100644 --- a/Android/Warpzone Status Widget/src/ms/warpzone/warpzonestatuswidget/UpdateWidgetService.java +++ b/Android/Warpzone Status Widget/src/ms/warpzone/warpzonestatuswidget/UpdateWidgetService.java @@ -29,7 +29,7 @@ public class UpdateWidgetService extends Service { RemoteViews remoteViews = new RemoteViews(this.getApplicationContext().getPackageName(), R.layout.widget_layout); // Set the text - remoteViews.setTextViewText(R.id.update, "Random: " + String.valueOf(number)); +// remoteViews.setTextViewText(R.id.update, "Random: " + String.valueOf(number)); // Register an onClickListener Intent clickIntent = new Intent(this.getApplicationContext(), WidgetProvider.class); @@ -38,7 +38,7 @@ public class UpdateWidgetService extends Service { clickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, allWidgetIds); PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(), 0, clickIntent, PendingIntent.FLAG_UPDATE_CURRENT); - remoteViews.setOnClickPendingIntent(R.id.update, pendingIntent); +// remoteViews.setOnClickPendingIntent(R.id.update, pendingIntent); appWidgetManager.updateAppWidget(widgetId, remoteViews); } stopSelf();