I am stumped on how to make vibrating notifications work correctly in
Cupcake.  I have made a very basic app with a single button that
should send a notification event with vibrate.  It only works for my
friends with the UK ROM or one of the XDA-Dev roms.  I can NOT get it
to vibrate for myself or two of my friends running the stock T-Mobile
Cupcake update.  Here's a slice of the code that I'm using based on
what I've read in the Android Developers documentation.  This is fired
from a button press.

notification1 = new Notification();
notification1.defaults = Notification.DEFAULT_VIBRATE;
NotificationManager nm = (NotificationManager)getSystemService
(Context.NOTIFICATION_SERVICE);
nm.notify(ID+1, notification1);

I have declared android.permission.VIBRATE in my manifest.

This code works when I send it to my UK friends, but it just doesn't
work in Cupcake.  Any ideas on what I'm doing wrong?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to