I am getting Notifiaction to my app if i click that notification i want to show some animation....my own....
On Tue, Aug 4, 2009 at 1:39 PM, Lazarus 101 <[email protected]> wrote: > > you want to display a notification and when the user selects it > display an activity? > > NotificationManager mNotificationManager = (NotificationManager) > getSystemService(NOTIFICATION_SERVICE); > > Intent intent = new Intent(context, Screen.class); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > PendingIntent contentIntent = PendingIntent.getActivity( > this, 0, intent, 0); > > Notification not = new Notification(R.drawable.icon, > "ticker text", System.currentTimeMillis()); > > not > .setLatestEventInfo( > context, > "contentTitle", > "contentText", > contentIntent); > > mNotificationManager.notify(Constants.NOTIFICATION_ID, > not); > > > or do you want to show your own activity for any notification fired by > other apps? if this is the case I don't think it's possible and I also > don't see why would you want to do that. > > Best regards. > > On Aug 4, 7:37 am, "android.vinny" <[email protected]> wrote: > > Hi > > > > How can i start my own activity when a new notification arrives to our > > status bar if click that notification my activity should play... > > > > any body guide me regarding this... > > thanks a lot in advance..... > > > -- Regards ------------------- Desu Vinod Kumar [email protected] 09176147148 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

