Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public class Widget extends AppWidgetProvider { public void onReceive(Context context, Intent intent) { String action = intent.getAction(); if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { setViews(); Intent AlarmClockIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER).setComponent(new ComponentName("com.android.alarmclock", "com.android.alarmclock.AlarmClock")); PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, AlarmClockIntent, 0); views.setOnClickPendingIntent(R.id.Widget, pendingIntent); AppWidgetManager.getInstance(context).updateAppWidget(intent.getIntArrayExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS), views); } } public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { setViews(); } private void setViews(){ GregorianCalendar Calendar = new GregorianCalendar(); int hour; hour = Calendar.get(Calendar.HOUR_OF_DAY); if (hour > 12){ hour -= 12; } if (hour == 0){ hour = 12; } switch (hour) { case 1: views = new RemoteViews("com.ClockWidget", R.layout.widget); break; case 2: views = new RemoteViews("com.ClockWidget", R.layout.widget2); break; case 3: views = new RemoteViews("com.ClockWidget", R.layout.widget3); break; case 4: views = new RemoteViews("com.ClockWidget", R.layout.widget4); break; case 5: views = new RemoteViews("com.ClockWidget", R.layout.widget5); break; case 6: views = new RemoteViews("com.ClockWidget", R.layout.widget6); break; case 7: views = new RemoteViews("com.ClockWidget", R.layout.widget7); break; case 8: views = new RemoteViews("com.ClockWidget", R.layout.widget8); break; case 9: views = new RemoteViews("com.ClockWidget", R.layout.widget9); break; case 10: views = new RemoteViews("com.ClockWidget", R.layout.widget10); break; case 11: views = new RemoteViews("com.ClockWidget", R.layout.widget11); break; case 12: views = new RemoteViews("com.ClockWidget", R.layout.widget12); break; default: break; } } private RemoteViews views; private AnalogClock clock;