Android Notifications
<p>Im trying to start a new activity once i press a notification...the related code is:</p>

<pre><code>NotificationManager notifManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);  

Notification note = new Notification(R.drawable.android, "New E-mail", System.currentTimeMillis());  

PendingIntent intent = PendingIntent.getActivity(this, 0, new Intent(this, DatabaseActivity.class), 0);  

note.setLatestEventInfo(this, "New E-mail", "You have one unread message.", intent);  

notifManager.notify(NOTIF_ID, note); 
</code></pre>

<p>But the activity just dsnt begin..the notification pops up..but if i click it nothin happens...plz advice!!!</p>
