Not directly AFAIK. You can however convert the drawable (if it is a BitmapDrawable) to a Bitmap, then convert the bitmap to a byte[] and store that as a BLOB in the db.
If there is a quicker/simpler/nicer way I'd like to hear that from someone :))))) YuviDroid On Sun, Aug 1, 2010 at 3:12 PM, Jerry Fan <[email protected]> wrote: > Hi folks, > is there anyway that I can store drawables into database? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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

