RTFM

http://developer.android.com/guide/topics/ui/notifiers/notifications.html#Lights



On 17 Feb., 14:44, Jake Colman <[email protected]> wrote:
> On my HTC EVO I see that my running apps have two forms of typical
> notification:
>
> 1) Tweets, for example, vibrate and make a sound once upon arrival only.
> 2) SMS, for example, vibrate and make a sound once upon arrival, but
>    flash the LED until the SMS is acknowledged.
>
> In my app I create a new Notification and set the flags as follows:
>
> theNotification.defaults |= Notification.DEFAULT_ALL;
> theNotification.flags |= Notification.FLAG_AUTO_CANCEL;
>
> This performs notification as per example #1.  How do I change this so
> that I get notification as per example #2?  Ideally, I'd also like to
> control whether the LED flashes red or green.
>
> Thanks.
>
> ...Jake
>
> --
> Jake Colman -- Android Tinkerer

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