The default contacts live folders don't pass photos from what I could
tell in the source. I tried to send as PNG byte array to no avail.
I'll try JPEG and see if that makes a difference. Thanks Romain.

On Sep 30, 9:26 am, Romain Guy <romain...@google.com> wrote:
> You can also look at the source code of the default live folders to
> see how the contacts live folders are implemented.
>
> On Wed, Sep 30, 2009 at 9:18 AM, nEx.Software
>
>
>
> <email.nex.softw...@gmail.com> wrote:
>
> > This is incredibly frustrating. If it helps, I get the same error
> > regardless of whether it is a Contact photo or any other Bitmap. I
> > even tried sending as a byte array. No luck. Always a
> > NullPointerException when the Launcher application tries to
> > "createBitmapThumbnail". It seems it is getting passed a null bitmap.
>
> > LiveFolders seem to be incredibly unpopular so there is like no
> > information anywhere. Any google folks (Romain maybe?) have any input?
> > Of course I'll take just about any input at this point.
>
> > On Sep 29, 2:11 pm, "nEx.Software" <email.nex.softw...@gmail.com>
> > wrote:
> >> I was hoping to include thephotofor eachcontactin a live folder. I
> >> am using People.loadContactPhoto() to get a bitmap and am placing it
> >> into the content provider's result column for LiveFolders.ICON_BITMAP
> >> but I keep getting a NullPointerException. Any ideas? Should I not be
> >> doing this?
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to