baljeetverma / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

Support for contact images? #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to see support for contact images in the libnotify popup.

Original issue reported on code.google.com by 58desi...@gmail.com on 30 Sep 2010 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by rdamazio@gmail.com on 30 Sep 2010 at 12:21

GoogleCodeExporter commented 9 years ago
I tried my luck there and being new in android I seem to be missing something.

What I tried to do is something like
context.getContentResolver().query(uri, new String[] { displayNameColumn, 
typeColumn, labelColumn, PhoneLookup.PHOTO_ID }, null, null, null);

(just adding photo_id to the projection)

then get columnindex then with that ID look up things in ContentUris
which should help getting the photo's url via yet another class.

All I get is null or invalid rows. Kinda googled the whole night for a working 
example and the SDK docs, but I'm telling you nothing works from those million 
API calls that should help us there. I guess I just have to find a working one. 
I'm kinda pissed so I thought I'll post my findings (which is not much) here. 
Maybe I'll try again sometime.

Original comment by peter.v...@gmail.com on 11 Oct 2010 at 9:08

GoogleCodeExporter commented 9 years ago
I found problems here too.. Looks like this is my problem, might be the same 
for you peter.v: 
http://www.mail-archive.com/android-developers@googlegroups.com/msg68933.html

Original comment by zip...@gmail.com on 3 Nov 2010 at 1:28

GoogleCodeExporter commented 9 years ago
Just for the record: My issue was not connected to facebook.

Original comment by peter.v...@gmail.com on 3 Nov 2010 at 7:54