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

2010-03-31 Thread guru
Hi Mark Mruphy,

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? whether have to use any flag for this?

Thanks
Gururaja  O

On Mar 29, 6:05 pm, Mark Murphy mmur...@commonsware.com wrote:
 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, reply using remove me as the subject.


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.


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

2010-03-29 Thread guru
HI Mark Mruphy,

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?

Thanks Regards
Gururaja B O

On Mar 5, 10:35 pm, Mark Murphy mmur...@commonsware.com wrote:
 sangorys wrote:
  Hello,

  I want to put aniconin thenotificationstatusbarwith 1 image + a
  number.

  How can I do in using theNotification.iconmethod ?

 Use theiconand the number field in theNotificationobject.

 See:

 http://github.com/commonsguy/cw-android/tree/master/Notifications/Not...

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

 Android Consulting/App Development:http://commonsware.com/consulting

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


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.


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

2010-03-05 Thread sangorys
Thanks,

it works with Notification.number

:-)

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