views:

322

answers:

2

I have an app that has a fake SMS screen, when this is displayed I want to play one of the SMS sounds that are on the phone.

How do I do this?

+2  A: 

You'd have to find the audio file and play it from your app. There's no SDK hook to make the notification sound play.

bpapa
+2  A: 

SysSound is good sample code for playing sound, but you need to provide your own sound files.

David Dunham