2

At incoming call is it possible to play my defined ringtone instead of the default one which is set for the device?

Thank you.

Aparna
  • 119
  • 1
  • 10
  • 1
    this might help you [http://stackoverflow.com/questions/6182891/how-can-i-change-the-ringtone-in-android-programmatically][2] [http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity][3] [1]: http://stackoverflow.com/questions/6182891/how-can-i-change-the-ringtone-in-android-programmatically [2]: http://stackoverflow.com/questions/6182891/how-can-i-change-the-ringtone-in-android-programmatically [3]: http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity – Farhana Haque Dec 19 '11 at 10:00
  • 1
    possible duplicate of [Incoming call dynamically override default ringtone](http://stackoverflow.com/questions/3387556/incoming-call-dynamically-override-default-ringtone) – Cody Gray - on strike Dec 19 '11 at 10:23
  • Thanks for your inputs. I have followed following link to set and reset Ringtone: http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity But here I have to reset it again with the default ringtone which was set. Beause my rintone should be played only if my application is in foreground. Is there any other way to play ringtone by overriding default one? – Aparna Dec 19 '11 at 10:40

0 Answers0