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 protected]> 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 protected]>
> 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
[email protected]

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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to