I do not know if it makes sense to use the notification icon from the SD card.
- Why can this change during your application?
- If it does not change, put it in the res folder and access it using
R.drawable.name - If the user mounts the SD card, img will not be available.
I can't think of a way to hack android to put img from sd card. The Notification constructor just gets the id as an icon.
My recommendation:
A notification icon based on the icon of your application after the icon Design guide .
Macarse
source share