--- android/Side9/src/dk/thoerup/side9/Side9WidgetProvider.java 2010/06/16 07:45:53 856 +++ android/Side9/src/dk/thoerup/side9/Side9WidgetProvider.java 2010/06/16 07:51:40 857 @@ -63,7 +63,9 @@ views.setImageViewResource(R.id.side9picture, R.drawable.side9logo); } - boolean showcaption = context.getSharedPreferences(Side9WidgetProvider.TAG, Context.MODE_PRIVATE).getBoolean("showcaption", false); + boolean showcaption = context. + getSharedPreferences(Side9WidgetProvider.TAG, Context.MODE_PRIVATE). + getBoolean(Side9Config.PREFS_SHOWCAPTION, false); if (showcaption == true) { views.setTextViewText(R.id.caption, " " + usedData.caption + " "); @@ -139,7 +141,7 @@ Bitmap getImageData(Context context, Side9Data data) throws IOException { SharedPreferences prefs = context.getSharedPreferences(TAG, Context.MODE_PRIVATE); - boolean saveImage = prefs.getBoolean("saveimage", false); + boolean saveImage = prefs.getBoolean(Side9Config.PREFS_SAVEIMAGE, false); final String savepath = Environment.getExternalStorageDirectory() + "/Side9";