Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,363 Members 48,503 Now Online
XDA Developers Android and Mobile Development Forum

[APP MOD] WyContacts 1.1 (150210)

Tip us?
 
Wysie
Old
(Last edited by Wysie; 15th February 2010 at 04:46 AM.) Reason: 1.1
#1  
Senior Member - OP
Thanks Meter 6
Posts: 1,119
Join Date: Jul 2009
Default [APP MOD] WyContacts 1.1 (150210)

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/downloads...1_cyan_apk.zip
update.zip: http://www.androidspin.com/downloads...ate_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.
 
david1171
Old
(Last edited by david1171; 25th January 2010 at 05:39 PM.)
#2  
Senior Member
Thanks Meter 163
Posts: 3,201
Join Date: Apr 2009

 
DONATE TO ME
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.
GrassRS$LocationUpdater@44cd2610
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
nternal.view.IInputMethodClient$Stub$Proxy@451fac18 (uid=10036 pid=1261)
W/InputManagerService(  302): Client not active, ignoring focus gain of: com.and
roid.internal.view.IInputMethodClient$Stub$Proxy@451fcc28
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.
Device: Nexus S 4G
ROM: CM7
CM7 Theme Engine: MinimalBread
App Mod: Demotivators Protips Widget
My Icon Sets: Minimalist and Minimal
Twitter: david1171_
Google Chrome Theme: Minimalist
PayPal: If you would like to donate
 
enomther
Old
#3  
enomther's Avatar
Senior Member
Thanks Meter 149
Posts: 3,432
Join Date: Jun 2009
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~
-----------------------------------------------
TheOfficial G2 v2.14.2
TheOfficial Nexus1 v2.14.4
TheOfficial D/S v2.14.2


(follow me on twitter if you like)

If you like or use my work, you can always buy me a shot.

 
slimfady
Old
#4  
Senior Member
Thanks Meter 3
Posts: 132
Join Date: Jul 2009
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
 
Amdathlonuk
Old
#5  
Amdathlonuk's Avatar
Senior Member
Thanks Meter 43
Posts: 898
Join Date: May 2009
Location: Abergavenny
Any chance of some screen shots to see what I'm dicing with?
Galaxy NOTE III .....loving it! plus Samsung Galaxy Note 8"
 
slimfady
Old
#6  
Senior Member
Thanks Meter 3
Posts: 132
Join Date: Jul 2009
Quote:
Originally Posted by Amdathlonuk View Post
Any chance of some screen shots to see what I'm dicing with?
It's gonna look something like this:
http://forum.xda-developers.com/showthread.php?t=599194
 
Ssantos6981
Old
(Last edited by Ssantos6981; 25th January 2010 at 10:15 PM.)
#7  
Senior Member
Thanks Meter 1
Posts: 376
Join Date: Oct 2006
Location: Yonkers
Default 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!
T-mo LG G Flex
 
guiburi
Old
#8  
Member
Thanks Meter 0
Posts: 48
Join Date: Feb 2009
Location: Male'
Quote:
Originally Posted by Ssantos6981 View Post
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!
+1
~Mention my name to get a discount!
 
Ssantos6981
Old
#9  
Senior Member
Thanks Meter 1
Posts: 376
Join Date: Oct 2006
Location: Yonkers
Default ...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!
T-mo LG G Flex
 
Casao
Old
#10  
Casao's Avatar
Senior Member
Thanks Meter 4
Posts: 148
Join Date: Jul 2006
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes