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)
private NotificationManager mNotificationManager; private static final int NOTIFICATION_ID = 1; pivate Notification nf; private int AKT_PROGRESS = 0; private int MAX_PROGRESS = 100; private RemoteViews rv; somewhere in the onCreate(): //NotificationManager String ns = Context.NOTIFICATION_SERVICE; mNotificationManager = (NotificationManager) getSystemService(ns); nf = new Notification(R.drawable.up,"Uploading Screenshot! Please Wait...",System.currentTimeMillis()); rv = new RemoteViews(this.getPackageName(), R.layout.custom_notificationbar); rv.setImageViewResource(R.id.notifyImage, R.drawable.icon); rv.setProgressBar(R.id.customProgressBar, 100, AKT_PROGRESS, false); // rv.setTextViewText(R.id.notifyText, "20%"); nf.contentView = rv; Intent notificationIntent = new Intent(this, ShowMap.class); PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0); nf.contentIntent = contentIntent; mNotificationManager.notify(NOTIFICATION_ID, nf); for(int z=0; z <=100; z++){ Message.obtain(uploadProgressBarHandler).sendToTarget(); } .... private Handler uploadProgressBarHandler = new Handler() { @Override public void handleMessage(Message msg) { super.handleMessage(msg); try { Thread.sleep(500); if (AKT_PROGRESS >= MAX_PROGRESS) { mNotificationManager.cancel(NOTIFICATION_ID); AKT_PROGRESS = 0; Log.i("UploadProgress", "Finished!"); } else { Log.i("AKT", ""+AKT_PROGRESS); rv.setProgressBar(R.id.customProgressBar, 100, AKT_PROGRESS, false); // pb.incrementProgressBy(1); // pb.refreshDrawableState(); // uploadProgressBarHandler.sendEmptyMessageDelayed(0, 100); AKT_PROGRESS++; } } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } };