title: why am i getting deprecation warning in notification..?
body: <pre><code>NotificationManager nm=(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  Notification n=new Notification(android.R.drawable.stat_notify_more , "My Alarm Ringing", System.currentTimeMillis());
  Context cn=MainActivity.this;
  CharSequence title="My Alarm Clock";
  CharSequence details="Alarm Ringing....!!!";
  Intent in=new Intent(cn,Alarm.class);
  PendingIntent p=PendingIntent.getActivity(cn, 0, in, 0);
  n.setLatestEventInfo(cn,title,details,p);
  nm.notify(0,n);
  </code></pre>
  
  <p>In ecllipse i am getting Notification in second line and setLatestEventInfo in last second line is striked of. why is it so..?
  can anyone clearify what is the mistake..?
  thanx for the help</p>