Is there any way to start a beep (yes, a beep sound) or turn on the light of a device without a Notification instance?
With a notification it's easy as shown here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html
This is possible to do with iPhone API, and I need the exaclty same behavior on android.
I don't think thats possible. You will have to stick with the notify and cancel workaround. Just as an example see the TweetDeck android app. In the column settings, there are options on top that say : Notify, Light, Sound, Vibrate. You can select either of Light, Sound and Vibrate or a combination of these, however, they all need the notify to be selected.
You can use the media player and play an audio file. http://developer.android.com/reference/android/media/MediaPlayer.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With