Since you requested the default sound, does your device have a
non-silent default sound defined in Settings for notifications?

On Tue, Jul 31, 2012 at 3:39 PM, Pedro Cortez <[email protected]> wrote:
> Hi, i'm a new developer and i cant create a notification with a sound in my
> app.
> I tried this:
> notification.vibrate = new long[]{100, 250, 100, 500};
> notification .defaults = Notification.DEFAULT_SOUND;
> notification .audioStreamType = Notification.STREAM_DEFAULT;
>
> The app vibrate working well, but i cant hear any sound. Anyone could help
> me?
> Sorry for my poor english, but english is not my mother language.
> --
> att,
> Pedro Cortez
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in DC: http://marakana.com/training/android/

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