Finally got it to work. I needed to override fillWindow in my
MatrixCursor and tell it to not get String values for every column.
On Oct 1, 8:35 am, "nEx.Software"
wrote:
> Arg! So, I found the bug. Kind of. Somehow, all "get" calls (getLong
> (), getBlob(), and of course getString()) on my Curs
Arg! So, I found the bug. Kind of. Somehow, all "get" calls (getLong
(), getBlob(), and of course getString()) on my Cursor are being
treated as getString(). This makes no sense to me at all. Why are they
not getting directed to the correct functions?
On Sep 30, 12:14 pm, "nEx.Software"
wrote:
>
I found the source of my problem. MatrixCursor is dropping my byte
array for some reason. Now, to find out why. Yay bug hunting...
On Sep 30, 10:46 am, Romain Guy wrote:
> I checked the history and the contacts live folder used to simply put
> People.DATA in the cursor as the data for ICON_BITMA
I checked the history and the contacts live folder used to simply put
People.DATA in the cursor as the data for ICON_BITMAP. Try that.
On Wed, Sep 30, 2009 at 10:37 AM, nEx.Software
wrote:
>
> I am beginning to wonder whether this is an issue with LiveFolders, or
> with the ContentProvider not p
I am beginning to wonder whether this is an issue with LiveFolders, or
with the ContentProvider not passing the blob properly. I know for a
fact that the data getting put into the MatrixCursor is able to be
decoded when it goes in, but I don't think it is coming out the other
side in the same way
I've done it that way too. Are you saying that I need to include those
columns and explicitly set them to null?
On Sep 30, 10:16 am, Romain Guy wrote:
> I'm finally at the office and I just read the live folders code. The
> constraints are:
>
> - If you use ICON_BITMAP, ICON_RESOURCE and ICON_PA
I'm finally at the office and I just read the live folders code. The
constraints are:
- If you use ICON_BITMAP, ICON_RESOURCE and ICON_PACKAGE *must* be null
- The ICON_BITMAP has to be a Bitmap instance
Somehow the generated javadoc in the documentation does not show
everything. If you look at
Oops, my bad I was thinking of something else.
On Wed, Sep 30, 2009 at 9:51 AM, nEx.Software
wrote:
>
> Well, I actually started off with just using the ICON_PACKAGE /
> ICON_RESOURCE method and wanted to use Photo instead. I have tried
> this without ICON_PACKAGE / ICON_RESOURCE to no avail. Ho
Well, I actually started off with just using the ICON_PACKAGE /
ICON_RESOURCE method and wanted to use Photo instead. I have tried
this without ICON_PACKAGE / ICON_RESOURCE to no avail. How do I
specify the Icon type?
On Sep 30, 9:48 am, Romain Guy wrote:
> Why are you setting a bitmap and a res
Why are you setting a bitmap and a resource for the icon? You are also not
specifying the icon type.
On Sep 30, 2009 9:44 AM, "nEx.Software"
wrote:
I knew I should have included that... This is a bit messy at the
moment.
private static final String[] CURSOR_COLUMNS = new String[]
{ BaseColu
I knew I should have included that... This is a bit messy at the
moment.
private static final String[] CURSOR_COLUMNS = new String[]
{ BaseColumns._ID, LiveFolders.NAME, LiveFolders.DESCRIPTION,
LiveFolders.INTENT, LiveFolders.ICON_PACKAGE,
LiveFolders.ICON_RESOURCE, LiveFolders.ICON_BITMAP }
Oh yeah, it used to but does not anymore.
Anyway, without seeing your code...
On Wed, Sep 30, 2009 at 9:29 AM, nEx.Software
wrote:
>
> 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 s
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 wrote:
> You can also look at the source code of the default li
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
wrote:
>
> This is incredibly frustrating. If it helps, I get the same error
> regardless of whether it is a Contact photo or any o
The bitmap must be passed as a JPG or PNG byte array.
On Wed, Sep 30, 2009 at 9:18 AM, nEx.Software
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. Alw
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 pas
16 matches
Mail list logo