Have you tried anything other than default sound?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, May 4, 2011 at 6:31 PM, tedpottel <[email protected]> wrote:

> Hi,
> I'm trying to get a notification to make a asound, asny sound.  The
> notification comes up, but no sound....
>
>
> NotificationManager manger = (NotificationManager)
> gContext.getSystemService(Context.NOTIFICATION_SERVICE);
>
>    Notification notification = new Notification(R.drawable.icon,
> "Teeth Alert", System.currentTimeMillis());
>    PendingIntent contentIntent = PendingIntent.getActivity(gContext,
> 0, new Intent(gContext, NotifyMessage.class), 0);
>    notification.setLatestEventInfo(gContext, "Your teeth
> appoitmernt:", "Date:", contentIntent);
>
>    notification.defaults |= Notification.DEFAULT_SOUND;
>    notification.defaults |= Notification.DEFAULT_LIGHTS;
>
>    manger.notify(1,notification);
> Ted
>
> --
> 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

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