Re: [android-developers] Re: How to have a notification icon with image + text

2010-03-31 Thread Mark Murphy
guru wrote:
 I did the same way, tried to pass same ID. it is now displaying one
 icon. But the number of such notification is not displaying i.e number
 is not displaying. if i turn off and on bluetooth then it will display
 the number.
 
 Why this behavior? 

Either your device or your application is broken.

 whether have to use any flag for this?

There is no flag for toggle Bluetooth to make the count appear.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: How to have a notification icon with image + text

2010-03-31 Thread ~ TreKing
On Wed, Mar 31, 2010 at 5:52 AM, guru guru.nav...@gmail.com wrote:

 But the number of such notification is not displaying i.e number is not
 displaying.


I love when the same questions are asked over and over:
http://developer.android.com/intl/fr/reference/android/app/Notification.html#number

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] Re: How to have a notification icon with image + text

2010-03-29 Thread Mark Murphy
guru wrote:
 The current implementation of the Bluetooth Notification displays icon
 on status bar for each failure condition. But i want like single icon
 and number of such notifications.
 
 single icon(number)
 
 I used .number field, it is displaying number, but it is also
 displaying the icon for each failure condition.
 
 How this can be handled?

I know nothing about the Bluetooth stuff.

If you are displaying the Notifications yourself, use the same ID value
for each call to notify(), as in the example I showed you.

If you are not displaying the Notifications yourself, then you do not
have control over those Notifications at the SDK level.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.