title: Android custom notification bar
body: <p>I do own according to the notification bar: <a href="http://developer.android.com/guide/topics/ui/notifiers/notifications.html" rel="nofollow">http://developer.android.com/guide/topics/ui/notifiers/notifications.html</a></p>
  
  <p>I do like the tutorial :</p>
  
  <pre><code>            Notification notification = new Notification();
              notification.flags = Notification.FLAG_ONGOING_EVENT;
              notification.icon = icon;
  
              RemoteViews contentView = new RemoteViews(getPackageName(),
                      R.layout.custom_notification);
              contentView.setImageViewResource(R.id.image, R.drawable.b_10);
              contentView.setTextViewText(R.id.title, "Custom zgłoszenie");
              contentView.setTextViewText(R.id.text, "test test test");
              notification.contentView = contentView;
  
              NotificationIntent Intent = new Intent(BatteryInfoService.this,
                      BatteryInfoActivity.class);
              ContentIntent PendingIntent = PendingIntent.getActivity(ta, 0,
                      notificationIntent, 0);
              notification.contentIntent = contentIntent;
  
              mNotificationManager.notify(BATTERY_ID, notification);
  </code></pre>
  
  <p><strong>There are errors in the lines:</strong></p>
  
  <pre><code>            NotificationIntent Intent = new Intent(BatteryInfoService.this,
                      BatteryInfoActivity.class);
              ContentIntent PendingIntent = PendingIntent.getActivity(ta, 0,
                      notificationIntent, 0);
              notification.contentIntent = contentIntent;
  </code></pre>
  
  <p>Errors:</p>
  
  <pre><code>NotificationIntent cannot be resolved to a type
  
  Multiple markers at this line
      - ContentIntent cannot be resolved to 
       a type
      - ta cannot be resolved to a variable
  
  contentIntent cannot be resolved to a variable
  </code></pre>