title: How to set bitmap as notification icon in Android
body: <p>Hello I am looking for the way to set the bitmap which are not in <code>res</code> directory. Actually I am getting that icon from the URL and want to set it in the notification area.</p>
  
  <p>Here I am doing but it is only set the icon which are in <code>res</code> directory.</p>
  
  <pre><code>NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context)
      .setSmallIcon(R.drawable.ic_stat_logo)
      .setContentTitle(Util.notificationTitle)
      .setStyle(new NotificationCompat.BigTextStyle()
      .bigText(notificationMessage))
      .setAutoCancel(true)
      .setDefaults(Notification.DEFAULT_SOUND)
      .setContentText(notificationMessage);
  </code></pre>
  
  <p>Any idea to set the fetch bitmap from URL and set that icon as <code>Notification</code> icon ?</p>