0

I have a central application which is going to receive messages from various services and construct dynamicaly a notification (up to 3 or 4 informations from the services in the notification). Part of the personalized notification will include images sent from the services (image included in the service package in drawable, not on SD or phone memory) and I just wanted to know how to transfer them properly.

I thought of using a Parcelable or some container to put the image in and then transfer it using an intent but I just don't know how to proceed (retrieving the image bytes and parceling them)... The images are "light", about 5Kb.

Any advise ?

parphane
  • 152
  • 2
  • 12

1 Answers1

0

If you want to make your images available to other applications on the cell phone, then I would look in to using a Content Provider.

Android Content Providers

nickfox
  • 2,835
  • 1
  • 26
  • 31
  • Thanks.Good idea, never thought about it (and never used it already). Gonna see when I have some time, I've put that aside to continue the rest of the app. – parphane Apr 01 '11 at 12:24