[Contacts.apk] How to get Contacts List with Photo in Donut?

Put your problem here if it does not fit any of the other categories.

[Contacts.apk] How to get Contacts List with Photo in Donut?

Postby xenio » Wed Nov 11, 2009 7:50 pm

I am trying to modify the Contacts.apk source to get the Photo's
contact in the Contacts tab, (In Eclair this is already implemented, I
would like to have it in Donuts too).
In the Favorites tab the photos are already there, so tweak it must be simple.

This is what I get until now with the help of Akirah

Contacts.apk source file ContactsListActivity.java

changed this line
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. from
  2. 132 static final int MODE_ALL_CONTACTS = 10;
  3. to
  4. 132 static final int MODE_ALL_CONTACTS = 10 | MODE_MASK_SHOW_PHOTOS;
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


After this I get a GENERIC ICON with the droid on the left of the contacts name.

That is all I get, I am not good in Java Programming...

If you want to get involved this is the code...
http://android.git.kernel.org/?p=platfo ... 84;hb=HEAD

Any help?
Xenio


Image
User avatar
xenio
Freshman
Freshman
 
Posts: 4
Joined: Wed Nov 11, 2009 12:13 pm

Top

Postby xenio » Sun Nov 15, 2009 11:52 am

Solved with the help in XDA Forum.

http://forum.xda-developers.com/showthread.php?t=582508

Thanks
Xenio
User avatar
xenio
Freshman
Freshman
 
Posts: 4
Joined: Wed Nov 11, 2009 12:13 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 26 guests