Android的蜂鸣声或灯光没有通知的对象?灯光、对象、通知、蜂鸣

由网友(史努比@)分享简介:有没有什么办法来启动蜂鸣声(是的,蜂鸣声)或者打开设备的光没有通知的实例吗?Is there any way to start a beep (yes, a beep sound) or turn on the light of a device without a Notification instance?通过...

有没有什么办法来启动蜂鸣声(是的,蜂鸣声)或者打开设备的光没有通知的实例吗?

Is there any way to start a beep (yes, a beep sound) or turn on the light of a device without a Notification instance?

通过通知很容易如下所示:的http://开发商.android.com /引导/主题/ UI /通知者/ notifications.html

With a notification it's easy as shown here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html

这是可能与iPhone API做的,我需要在Android上exaclty相同的行为。

This is possible to do with iPhone API, and I need the exaclty same behavior on android.

推荐答案

我不认为这就是可能的。你必须坚持与通知和取消的解决方法。只是作为一个例子看到TweetDeck的Andr​​oid应用程序。在栏目设置,还有上边那个说选择:通知,光,声,振动。您可以选择灯光,声音和振动或它们的组合,但是,他们都需要被选中的通知。

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.

阅读全文

相关推荐

最新文章