Custom icon on notification

by Wesley » Wed, 11 Mar 2009 02:51:24 GMT


Sponsored Links
 Is it possible to display a custom icon (i.e., an icon which is a
application resource) on a notification ?
For sounds you can pass a Uri which makes possible to play custom
sounds when notifying, but for the icon you only pass the resource id
when creating the Notification object, which as I understand makes
possible only to display the system icons (i.e., those on android.R).



--~--~---------~--~----~------------~-------~--~----~



Custom icon on notification

by Zero » Wed, 11 Mar 2009 06:42:29 GMT


 resource id can be any id from your project as well. should work just
fine.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Custom icon on notification

by Wesley » Thu, 12 Mar 2009 04:50:00 GMT


 So, are the resource ids unique across all applications on the phone ?
What about new applications being downloaded, how would this work ?





--~--~---------~--~----~------------~-------~--~----~



Custom icon on notification

by MrSnowflake » Thu, 12 Mar 2009 05:31:29 GMT


 

Probably not, but does it matter? The NotificationManager probably
gets the drawable from the context it got called and used from.

Well, you shouldn't care for it :) The system does that for you.



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Website for your app, how important do you feel it is?




I think ideally support would be handled directly in the app - this is
something I really want to get to. A support Activity, if you will, where
the user can email you, request features, report issues, view faqs, and
maybe enable logging and help you debug stuff. Right in the app so the user
doesn't have to go anywhere else or do any more work. For now I just use a
Google Docs form for people to report bugs. Most people still email (or use
the Market comments >:O ) until I direct them there, but it gets used quite
a bit.



Yeah, the market description is a joke. You definitely need a site just to
really describe your app and list the features. Plus that's yet another way
for people to discover your app. Throw links wherever you can (like your
Google Groups signature ;-) ), set up a Google Alert for your app name, and
let the Google spider bots do their thing. You can't rely on the Market app
to help get your app noticed with the pathetic search and spam-clogged "Just
In" list. And the more you can integrate the site with the app itself (like
a "Help" button that takes you to the correct page on the site) the better,
I think.



Why thank you =) Though I can guaranteed there are better app sites around -
a web designer I am not.

However, it serves its purpose and I think has been highly beneficial in
warding those type of "what is it" or "how does it work" type questions.  I
can only remember one time when someone asked for a feature and I told him
all he had to do was long-press on something. When I pointed out the online
user manual, he was very happy to see one was available.

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

-- 

2. LKM-Camera Module

Hi All,

Is it possible to control a camera by a module? Meaning as long as
the
module is loaded user cannot use the camera.


Initially I thought as application can be written to invoke camera
then it is possible to also write an application to control the
camera. But so far I couldn't get any breakthrough in it.


Can this can be done by a module instead?


Thanks In Advance,
Perumal

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. easy root di suspend oleh google

4. Webview of local webpage shows cluttered/repeated text

5. Does a contact have a phone number?

6. Error after publishing

7. BitmapFactory.decodeResource, Multiple Resolution Support and SurfaceViews