To be fair, I obviously do not know for a fact that HTC devices 
are intentionally ignoring the startForeground() method. Here are the bug 
reports though so y'all decide... 
http://code.google.com/p/android/issues/detail?id=9663 && 
http://code.google.com/p/android/issues/detail?id=9682

As for the status bar icon persistently showing while the app is running, I 
do this because my app runs silently in the background and auto-responds to 
text messages therefore I use the icon as a quick visual cue to let the user 
know it is in fact running. Otherwise I fear they would forget it is running 
and blame my app for auto-responding when they "think" it shouldn't be. 
Also, it only shows a short message when the user explicitly starts the 
service and then shows another short message upon sending the 
auto-response. In the notification drop down area I have an ongoing 
notification. Apart from error messages that is pretty much it.

If this is incorrect usage of the status bar icon and notification that is 
fine and I'll conform to whatever y'all suggest, however I really cannot 
think of a better way of doing it.

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