[APP MOD] WyContacts 1.1 (150210)

Search This thread

Wysie

Senior Member
Jul 4, 2009
1,122
6
Hi all,

I've decided to work on Contacts again, and am slowly porting over the features of my previous work to 2.1. It will not be updated as often since I'm now busy with school work, and will only be updated on weekends or when I've the time.

Features:
Dialer:
Ability to set certain programs for voicemail
Themeable background: custom_background_dialer.png in drawable-finger (both mdpi and hdpi) (Not working now, see known bugs)
Changeable digits color
Ability to disable feedback function
Press call button with no digits entered to retrieve last dialled number

Call log:
Show/hide contact pictures in call log
Show/hide call button (If call button is hidden, the call type icon will dial the number instead when tapped)
Show actual time in call log, instead of relative time
Ability to clear all logs of a particular type (missed, incoming, outgoing)


Contacts:
Show/hide call button
Navigate directly from contact info (works with M4ps and rooted Maps, it doesn't make sense actually, if you're rooted you shouldn't be running M4ps).
Added preference to hide all "Text/SMS" actions except for mobile numbers.

Favourites
Show/hide call button

Always Nandroid First!

Installation instructions for apk:
Code:
adb remount
adb shell rm /system/app/Contacts.odex
adb push Contacts.apk /system/app/

Download (Thanks AndroidSPIN!):
CyanogenMod:
apk (unzip and push): http://www.androidspin.com/download...tacts_Eclair/&file=WyContacts1.1_cyan_apk.zip
update.zip: http://www.androidspin.com/download...ir/&file=WyContacts1.1_cyan_update_signed.zip

Others (Stock Rooted ROM, Superboot, Bacon Addon):
May not release it, if you are interested just compile it from my GitHub. Reason? Most of the other custom ROMs have different frameworks, that causes the alphabetical separators (possibly other stuff) to be all messed up. It's a better idea if the ROM makers themselves compile it against their source.. :)

Changes:
1.1:
Fixed the issue with SMS/MMS action not showing numbers
Pressing green dial button with no digits entered now retrieves the last dialled number
Added preference to return to dialer instead of home screen after a call from dialer

1.0r2:
1.0 was compiled for mdpi devices, resulting in low-res graphics. 1.0r2 is compiled for both, should look nice in your hdpi device again. Thanks MontAlbert for the heads up.

1.0
Implemented function to show/hide contact pictures in call log
Added pref to show/hide dial button in call log. If hidden, tapping on
the call type icon will dial out instead.

0.9 (Unreleased):
Preference to show/hide separators in Contacts
Preference to show/hide contact pictures in Contacts/Favourites

0.8:
Added navigation action beside the address of a contact
Added preference to hide sms action for all numbers except mobile



0.7 (Unreleased):
Added preference to hide frequently called
Added menu option to clear frequently called (will be hidden if you hide
Added preference to enable rotation to landscape mode

0.6:
Fixed the FCs that occured due to lack of permissions (GET_ACCOUNTS).
Also added more preferences for call log. You can now show exact time instead of relative time.

0.5:
Ported over Dialer enhancements from my previous work.

To Do:
Port the changes over from http://forum.xda-developers.com/showthread.php?t=599194

Source: http://github.com/Wysie/Contacts_Eclair_Mod_CyanMod

Known Bugs:
Replacing custom_background_dialer is not working. Can't figure out why. Please let me know if you have a fix.
 
Last edited:

david1171

Senior Member
Apr 29, 2009
3,204
166
Amazing work like always :) Do you mind if I throw your modified Contacts.apk into my theme?

Google Voice is installed to /system/app/googlevoice.apk (its all lower case for somereason). In case you didn't know its exact location.

I will edit this post once I start to play around with it some for a good size for a full screen dialer background image.

Edit: Here is a logcat of Google Voice being launched. I haven't installed the modified Contacts.apk yet, if that is of any importance.

Code:
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.googlevoice/.HidingSplashActivity }
I/ActivityManager(  302): Start proc com.google.android.apps.googlevoice for act
ivity com.google.android.apps.googlevoice/.HidingSplashActivity: pid=1261 uid=10
036 gids={3003, 1015}
V/RenderScript_jni(  375): surfaceDestroyed
V/RenderScript(  375): setSurface 0 0 0x0
D/LocationManager(  368): removeUpdates: listener = com.android.wallpaper.grass.
[email protected]
D/NetworkLocationProvider(  302): removeListener(): wallpaper
D/NetworkLocationProvider(  302): enableLocationTracking(): false
E/NetworkLocationProvider(  302): releaseCheckLocationLock: wake lock has alread
y been released
I/ActivityManager(  302): Starting activity: Intent { cmp=com.google.android.app
s.googlevoice/.SetupActivity (has extras) }
W/InputManagerService(  302): Starting input on non-focused client com.android.i
[email protected] (uid=10036 pid=1261)
W/InputManagerService(  302): Client not active, ignoring focus gain of: com.and
[email protected]
I/ActivityManager(  302): Displayed activity com.google.android.apps.googlevoice
/.HidingSplashActivity: 645 ms (total 645 ms)
D/dalvikvm( 1261): GC freed 1943 objects / 147632 bytes in 63ms
D/GoogleVoice( 1261): call interceptor component name = ComponentInfo{com.google
.android.apps.googlevoice/com.google.android.apps.googlevoice.CallInterceptor}
D/        ( 1261): unable to unlink '/data/data/com.google.android.apps.googlevo
ice/shared_prefs/com.google.android.apps.googlevoice_preferences.xml.bak': No su
ch file or directory (errno=2)
I/ActivityManager(  302): Displayed activity com.google.android.apps.googlevoice
/.SetupActivity: 845 ms (total 845 ms)
D/dalvikvm(  302): GC freed 36563 objects / 1869048 bytes in 111ms
D/dalvikvm(  375): GC freed 894 objects / 39560 bytes in 66ms
D/VoiceDialerReceiver(  516): onReceive Intent { act=android.intent.action.PACKA
GE_CHANGED dat=package:com.google.android.apps.googlevoice flg=0x20000000 cmp=co
m.android.voicedialer/.VoiceDialerReceiver (has extras) }
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
80000
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20047
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20048
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
700e5
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20031
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20030
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
50000
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
50000
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20005
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
20004
W/ResourceType(  302): Resources don't contain package for resource number 0x7f0
90001
I/WindowManager(  302): Setting rotation to 1, animFlags=0
W/SurfaceFlinger(  302): timeout expired mFreezeDisplay=1, mFreezeCount=0
I/ActivityManager(  302): Config changed: { scale=1.0 imsi=310/260 loc=en_US tou
ch=3 keys=1/1/2 nav=3/1 orien=2 layout=34}
I/WindowManager(  302): Setting rotation to 0, animFlags=0
I/ActivityManager(  302): Config changed: { scale=1.0 imsi=310/260 loc=en_US tou
ch=3 keys=1/1/2 nav=3/1 orien=1 layout=34}
I/ActivityManager(  302): Process com.svox.pico (pid 1020) has died.
D/dalvikvm(  302): GC freed 6153 objects / 280376 bytes in 224ms
D/dalvikvm(  516): GC freed 195 objects / 9664 bytes in 53ms
I/ActivityManager(  302): Starting activity: Intent { cmp=com.google.android.app
s.googlevoice/.LoginActivity (has extras) }
I/ActivityManager(  302): Displayed activity com.google.android.apps.googlevoice
/.LoginActivity: 68 ms (total 68 ms)
I/ActivityManager(  302): Starting activity: Intent { act=android.intent.action.
 
Last edited:

enomther

Senior Member
Jun 12, 2009
3,437
146
Hey Man,

For Nexus1 ... you'll want hdpi only. mdpi should/can be removed.

Any chance we can get a concise set of features that were included?

Thanks.

~enom~
 

slimfady

Senior Member
Jul 13, 2009
151
4
39
Just tried it,
Works great, except for an FC when I select Display Options in the contacts list.
Any chance of getting the vibrate when answered feature?

Great Work
 

Ssantos6981

Senior Member
Oct 17, 2006
385
1
39
Yonkers
any chance of...

Porting the features from Cytown's Phone.apk for the G1?

I just love his blacklist feature.

Never mind! I just saw his thread in the G1 and he is supporting the Nexus.

Great job fellas!
 
Last edited:

Ssantos6981

Senior Member
Oct 17, 2006
385
1
39
Yonkers
...Can't get it to work...

I got the contacts.apk to work but Cytown's phone.apk wont work. Everything keeps force closing.

Woe is me and not being able to blacklist on my Nexus!
 

Casao

Senior Member
Jul 1, 2006
149
4
Stupendous to see you developing for the Nexus One, can't wait to see what you can bring to Contacts for 2.1.

Suggestion, I'm really not sure how possible this is, could the right Dial icon on Favorites be customizable? Like, let me select any option from the QuickBar to display on the right side? On a per-contact basis would be absolutely stellar.
 

seanowns

Senior Member
May 30, 2009
465
40
Fantastic. Deleted aContacts(snob for exact call log).

On call log, anyway to not make it show my contact's number next to the call time? Makes it a tad scrunched, and does not add value for a person who is already my contact.

Also, anyway to default to Call log?
 

Wysie

Senior Member
Jul 4, 2009
1,122
6
david1171: Use it as you like! :) By the way, I've changed the Google Voice stuff but I still can't see it. Are you able to? Thanks!
 

soneedu

Member
Jan 26, 2010
19
0
I want to know can support chinese sort or search ?
In my mind, want to addon some function on builded contact tools in N1. Is it easy to do, if some one can provide some stuff, i want to learn and do some modify for chinese
 

samawil

Senior Member
Nov 15, 2006
60
0
Hi Wysie,

Thanks for this.

Was wondering if there would be a way to group the contacts together in the call log?
For example if I call my mom...i mean girlfriend...5 times in a row, not to have 5 different entries, but one entry that shows me I called her 5 times?

Thanks,

Lou
 

Wysie

Senior Member
Jul 4, 2009
1,122
6
I'm leaving grouping as the last priority. I know a lot of you want it but I simply do not have the time to do it. I don't wanna do a lousy job :p.
 

SiNJiN76

Senior Member
Sep 14, 2009
3,978
619
I'm leaving grouping as the last priority. I know a lot of you want it but I simply do not have the time to do it. I don't wanna do a lousy job :p.

Cool! At least we know that it's coming. =) I'll be waiting for that one. But in the mean time...I can't seem to see the Group function for each contact. Am I not doing something? I press the MORE option in the Contact Edit Menu and I don't see it. Oh, also...maybe a Birth Date field? Weird that Google has it on the desktop Gmail but not in the phone.

ah...nevermind...not everything has been ported over yet. Cool...can't wait for your updates!
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Feature/Enhancement Requests

    I use CM7, and it appears that the native Dialer/Contacts app from CM7 is built on this development. Here are my primary, and very major complaints with the current Contacts app:

    • Lack of a Call Log shortcut in the app drawer.
    • Lack of an option to "View Call History" for a particular contact for more than the past day.
    • Lack of speed-dial and smart-dialing.
    • Poor integration of and complicated process to "Join/Separate" contacts.

    These are some pretty basic, essential features. Pretty much every phone supports smart-dialing these days (by that I mean looking up contacts by name and number while dialing numbers, just like the native Sense/Touchwiz/Motoblur dialer and most other dialers do). And the lack of simple speed-dialing is just inexcusable. Even phones ten years ago could do that easily!

    I would love to see these basic enhancements added to really it. And I would be willing to donate money towards that.

    And if I am mistaken and simply missing how to do these things, or if anyone has any suggestions or tips on how to do these, please just let me know!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone