yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] d0g:
Option to hide duplicate entries in call log?

First of all, thanks for the amazing work!

I would LOVE having a pref setting to 'Hide duplicates' in the call log.

So that it would only show the most recent call to/from the same contact.

I also vote for a T9 search function.

Ideally ... it would be integrated into the Dialer screen, so entering some digits would show a list of matches...

Thanks again!
[G1 Android Development] ipalaus:
Sorry, missed!
[G1 Android Development] d0g:
LAB?

[message deleted]
[G1 Android Development] tnpapadakos:
awesome, got it

cant find the dialpad custom background options, though
[G1 Android Development] Wysie:
The custom background is for themers... read the first post :)
[G1 Android Development] tnpapadakos:
ok thanks

you rock
[G1 Android Development] xenio2000:
White Contacts.apk

Wow I just discovered that Android have internal themes layout for activity...

to apply a White theme to the Contacts.apk it is necessary only a line of code

in the AndroidManifest.xml line 68

android:theme="@android:style/Theme.NoTitleBar"

change it to

android:theme="@android:style/Theme.Light.NoTitleBar"

http://d.android.com/reference/android/R.style.html the part that start with Themes_

@wysie maybe you can make an option dark/light theme :):):)

The tabs are in a white background and maybe with png resource it is possible to make it darker.
[G1 Android Development] Jrbourque:
that looks mad hot....its the little things like this that make android awesome
[G1 Android Development] Wysie:
xenio: Thanks for the information. I'm currently working on allowing creating and deleting of groups, will include the theme color stuff in asap :).
[G1 Android Development] xenio2000:
@Wysie Thanks... the black theme in android is boooring.... I love the Market layout it is perfect for Android, white/green
[G1 Android Development] Wysie:
xenio: Dialer remains black, right?
[G1 Android Development] borjus86:
this app not working on htc magic with eclair 2.01??

i'm tested...contacts going to FC
[G1 Android Development] Wysie:
It only works on Donut builds.
[G1 Android Development] xenio2000:
You used a custom png for the dialer, so I think it stay black or custom.

Adding in the dialer_activity.xml in the TabWidget

android:background="#000"

the top remain black and the theme is white, very nice.
[G1 Android Development] Wysie:
xenio2000: Screenshot would be nice ;). Thanks for the info!
[G1 Android Development] xenio2000:
Here it is:

Tabs background is a custom png (attached) and it is skinnable

file dialer_activity.xml

<TabWidget android:id="@android:id/tabs"
...
android:background="@drawable/custom_tab_background"
/>

for the "LIGHT" theme the code is in the previous post.

if you put -> android:theme="@android:style/Theme.Light"

in every activity in the AndroidManifest.xml all goes Light also the edit contacts etc...

It is also possible to make a custom background for the contact list and contact log not only the dialer... but this slow the scroll.

Xenio

it is Xenio and not Xenio2000 (Xenio was already taken in XDA :mad:)

edit:

there is to fix also the call_background.xml, the green call button have a black background on focused state

<item android:state_focused="false" android:state_pressed="false"
android:drawable="@android:drawable/screen_background_light"/>
[G1 Android Development] :
WoW.....I must say the haptic feedback (although too "heavy", ouch) works a treat.

However since it's adjustable (on developer side).....

I would love to have shorter and "lighter" vibration (just enough for slight finger tip "pressing feel"), probably asking too much :D

p/s: I'm still on v2.1 and not having any weird FC. Maybe there will be 2.12 for a lighter haptic feedback that would be great :cool:

Thanks Wysie, always looking forward to your update :D
[G1 Android Development] Wysie:
2.2 will be out by tomorrow, will reduce vibration from 50ms to 25ms or so.

In addition, groups functionality is fully implemented. I just want to hold off releasing it now as I'm a little tired, probably has some bugs. Will do more testing, and adding some prefs for it, and we're set. Also, I'll try to include the Light theme as mentioned by xenio :).
[G1 Android Development] :
Thanks bro.

we all appreciate your effort and you should take a good rest :)

maybe I'm the first to wish you Happy (early) New Year :D

cheers!
[G1 Android Development] Wysie:
Some screenshots :). I'm really going to sleep now :P. Thanks truemagic.
[G1 Android Development] :
I want your babies! :D

This is the biggest thing for me by far, and for gods sake take a break sometime fella. Go out and get laid ;) lol
[G1 Android Development] xenio2000:
Light Theme

@wysie

Light theme in all important activities

there are differences from the previous post and some optimization in the code, now I am using a custom theme in styles.xml

I am pushing it in my GitHub, if you decide to implement it you can check the code.

Xenio

Edit:

Pushed to the Phone.... wooowwww looks great and fresh...

added the zip... if you want to try it... EXTRACT Contacts.apk from the zip archive and push to the phone as always.
[G1 Android Development] FatBoyExtraordinaire:
Get some rest man! lol Looks great and can't wait to see your latest and greatest!

Now this looks slick as hell. Good job. Are you going to post it as an update zip as well?
[G1 Android Development] Wysie:
Some more screenshots, release in a while :).

2.2 out :)!

xenio: I'll look at the styles at a later time. :)
[G1 Android Development] Booker-T:
A suggestion for u

Could you modify the call log by showing "1hr 1min" instead of "1hour 1minute" to represent the time the call made?

Because the deflaut one is too long which will cover the number.
[G1 Android Development] Wysie:
Booker-T: A screenshot will be good. Are you talking about exact or relative times?For exact time I do not have the "hour" or "hr" string at all. For relative times I only see either "1 hour ago" or "18 min" ago, can't see both hour and min at the same time..
[G1 Android Development] Booker-T:
Sorry, I made it wrong.

Could you remove "ago" to save more space to display the number I dailed?
[G1 Android Development] shadowmike:
anyway to get this working in 2.1 eclair.

it runs in manups rom for dream/mytouch but forcecloses when trying to view contacts. call log and dialer work fine.
[G1 Android Development] carnegie0107:
+1

Posted about this in ChainsDD's thread. I tried it, too, and yeah, the dialer works, but contacts doesn't (as expected). I'd love to see these wonderful improvements on an Eclair ROM. (besides, with the official 2.0 OTA in the works, Donut will be dying soon.)
[G1 Android Development] :
Sir, you have made a grown man cry! (I accidently hit my best mate in the eye jumping around all excited!

Thank you so much fella, such a huge feature having managable groups. Be expecting some beer money very soon :D
[G1 Android Development] Wysie:
Ive uploaded 2.21 update.zip as well, check my Twitter for link and screens. Will update here tonight. Was in a rush :p. 2.21 simply adds a few more types of deletion from call log, thanks to xdan for suggestion.

Link: http://www.mediafire.com/file/myykwydyfgz/Contacts_wysie2.21_update_signed.zip

Screen: http://twitpic.com/vkmvj

Shadowch: thanks!
[G1 Android Development] FatBoyExtraordinaire:
You truly are a beast! I actually stumbled upon your twitter while reading Cyan's and noticed you had already made a 2.21 with a download link. Now I got another twitter account to watch! lol
[G1 Android Development] borodin1:
Is there a way this can be installed on stock (unrooted) 1.6? Buddy of mine is drooling all over my phone, lol...
[G1 Android Development] :
I don't think there is. Only way I can think of would be to download the apk and try installing it using apps installer from the market or something.
[G1 Android Development] G1sanju:
Just one extra feature if it can be added, While adding the contact if we want to assign a picture to it then it only gives an option of gallery, this phone has a camera so can an option be added there to click the snap and assign it to contact from contacts itself rather then opening the camera app and saving the snap in gallary..:)

I know it sounds bit lazzy, but looks cool and give proper integration to the apps present.
[G1 Android Development] Wysie:
Hi guys are the 2.2 links correct? Someone on twitter told me it links to 2.11. Sorry about it, i will fix/update it to 2.21 tonight :p
[G1 Android Development] camalot:
I used the link in post #315 and in the about screen it says version 2.21
[G1 Android Development] saffad:
How do i get the haptic feedback to work in the dialer? I have Cyans 4.2.11.1 ...

edit: nevermind, its in the Dialer Settings (menu)
[G1 Android Development] enomther:
A precompiled version compatible with TheOfficial AOSP

Hi Wysie,

I've attached a precompiled version compatible with TheOfficial builds. Users were noting a scrolling letter bug ... b/c the ones you've posted are for cyanogen's git build specifically. So in case you want to post in your OP with some disclaimer, etc.

So attached is the one compatible with my builds. It's v2.2 from you github source compiled against my sources.

It's Contacts.zip, which should be renamed to Contacts.apk before pushing/installing.

Thanks for the great work!

~enom~
[G1 Android Development] Wysie:
Hi enomther,

Although I pulled the initial source from ChainsDD, which was pulled from cyanogen's, I've always compiled it against AOSP Donut :P.

Thanks for compiling! I'm pushing 2.21 to github in a while. Could you compile a version of that as well?

Thanks!
[G1 Android Development] Wysie:
First post updated with 2.21 links and info! :) If you've the 2.21 from post #315, do not update, it's the same ;).

camalot: Thanks for the info, I've a feeling the person chose the wrong update.zip to flash in recovery :

G1sanju: Good idea, let me take a look...

Also, for those wondering about the grouping of call logs, xdan says he'll ask geesun again.. :). Worst-case scenario, school starts for me and I don't write it :(. Don't worry, I'm sure 2.0 will be out by then :P. Secondly, I *may* port these features over to 2.0 once I'm running a 2.0 ROM myself.

Screenshots attached here.
[G1 Android Development] enomther:
Sure. I'll do it in just a bit.

~enom~
[G1 Android Development] Wysie:
Thanks :)! Also, do you have Twitter? Is your stuff on github? It'll be easier to communicate that way. If you've github I can just pull your sources and compile against it ;).
[G1 Android Development] viettho:
Sorry if this was posted before, and I am not sure if this is a missing feature or bug. I'm using latest version 2.21.

I have my phone default to google (voice) sms.

1. Input phone numbers from dialer tab

2. Hit menu, and tap on SMS/MMS, numbers are not transfered to google SMS. To field shows blank.
[G1 Android Development] Wysie:
viettho: What's Google SMS? =\ The SMS/MMS function will only affect SMS/MMS clients such as the built-in Messaging, or Handcent... I've tested with both Messaing and Handcent, it works just fine.
[G1 Android Development] enomther:
Attached is v2.2.1. I'll PM you regarding contact info, etc.

~enom~
[G1 Android Development] viettho:
I'm using Google Voice app that has SMS feature and I set Google Voice app as default SMS (because it's free SMS :)). So every time I tap on SMS/MMS, it will go straight there. I thought SMS/MMS also works on Google Voice as well, but guess not.

I have one Google Voice invitation left, if you want to test it, I can send it to you.
[G1 Android Development] xenio2000:
TheOfficial Rom

Yes, finally the letter bug is gone... thanks to you and Enom,

now I can use the letter separator...:D

Xenio
[G1 Android Development] yxwu:
Bugs related to Google Voices

This seems to be a bug, everytime I make an (international) call to one of my contacts through Google Voice, I will have a new entry created in my Contacts for the same person with same name but a phone number I don't recognize. I believe that is the google voice dialing-in numver that my device actually called to route the calls, and it should not be considered as a valid phone # for my contacts.
[G1 Android Development] cashless:
VERY minor (read: anal retentive) feature request:

There are separators for all of the alphabetical entries, however, there should be a single separator for numerical entries. Example:

--- #

411

1906 Services

--- A

Alan

Alma

--- B

Also, is there any way to add/remove someone to/from the blacklist right from their contact card?
[G1 Android Development] ytj87:
I second that.

Another feature request: grouping call log entries.

From current...

Pete 5:40

John 4:17

John 3:05

Martha 2:13

Pete 1:56

John 12:45

To...

Pete (2) 5:40

John (3) 4:17

Martha 2:13

This was a feature in the chinese dialer (forgot the dev's name) that was/is hanging around.

Thanks for the excellent work! Your dialer is a MUST have.
[G1 Android Development] Wysie:
Hi, can you use an unmodded Dialer and see if it still happens? It doesn't seem to be anything my code is doing...

For the Google Voice SMS part, I'll do some reading to see if the intent used has to be different :).

cashless: I know, I dislike the fact there's no numerical separators too (even worse for me, I've some chinese names and they are right after Z, with NO separators again!), but from the backport that's all there is :(. Let me see if I can write something out.
[G1 Android Development] Wysie:
Hi all, I have added in the ability to take a photo directly when adding or editing a contact, but am not releasing it as I'm unable to make the aspect ratio to 1:1. Right now, the flow is:

1. When selecting the user picture, a dialog will pop out, prompting if you want to take a photo, or select from gallery.

2. When the user selects take a photo, camera will be launched.

3. Once camera is launched, and a picture is taken, it will go to the photo editor where the user can crop the photo. The problem lies in this step. Cropping is not an issue, but in my code I've forced aspectX and aspectY to 1, outputX and outputY to 96. It seems these extras aren't being used :(.

I've posted it in anddev, and am still reading up. If someone can post/PM me a solution it'd be good. anddev link: http://www.anddev.org/viewtopic.php?p=31984
[G1 Android Development] G1sanju:
Thanks for implementing feature of taking snap from the contact itself.

I have flashed 2.21, While editing contact, If I an trying to add the group membership, I am missing the first group. Example I created an group "Family" and in the edit screen I didn't get that group, I created another one "CSC Office" and in the edit screen Family showed but CSC Office was missing. Looks like first group in the list is always missing from the edit screen. Let me know if screenshot is required..
[G1 Android Development] vanahaim:
Great work! You enhanced the usability up 100%!

Think you over the sms&mms application? It will be fine..
[G1 Android Development] Wysie:
Verified the bug with groups, will fix it tonight. Out now :p
[G1 Android Development] camalot:
Great work. Feature request. In the contact editor/creator, The ability to add custom "Chat Addresses", like you can with phone #. So if i wanted to add, twitter, i could, or if i wanted to add facebook, etc.

Another thing that sort of goes along with that, but is probably a lot more work, but would make it a bit more like 2.0ish (so I'm told) is if I add twitter or facebook chat addresses, syncing the picture from there :)

I also think it would be useful to have the ability to add custom "fields", not just notes, to a contact. Like Date of Birth, Anniversary, things like that. I know google contacts supports doing this, but dont recall at the moment "how", but it probably also depends on the contacts database.

I got the sources and my machine all set up so now I will start digging through your code and see if I can contribute anything to this as well. Keep up the great work, thanks.

Here is my first goal to achieve with Mms app. Note that this is only a mockup, created in an image editor, I am still digging my way through the Mms code.
[G1 Android Development] bbbblack:
Im still waiting for this feature also.. the devs name is GEESUN. I thought it would be as simple as taking some codes from that chinese dialer and putting it into this one. shouldnt be too hard if he had the ability to do it. If anyone wants to take a wack at it, heres the apk link below. thanks !

http://xdaforums.com/attachment.php?attachmentid=246280&d=1258136134

also this is the link to the thread which has some codes on it too

http://xdaforums.com/showthread.php?t=582508
[G1 Android Development] Wysie:
ytj87, bbblack: I won't blame you for not reading all the posts :P. Anyway, I've stated earlier, I refuse to write code as it's already available, and xdan has been helping me to get geesun to send me the patch. It would really suck if I wrote it halfway and receive the patch! Also, to be honest, I don't care much for the group logging myself... I'll look at it and see what I can do when I've the time.

camalot: Including social networks is always quite a low priority for me. Mostly because I'm not familiar with Twitter/Facebook API at all. I'll read through them someday :P. Also, I can't wait to see what you'll do with Mms.apk. Check your PM in a while.

Lastly, the issue with the first group not showing has been fixed :D. Sorry about it. I must've been sleeping when I wrote that portion. I actually did the following:

cursor.moveToFirst();

while (cursor.moveToNext()) {

//load groups list

}

As a result, I will always skip the first group :P.
[G1 Android Development] camalot:
I understand that. do you know how the "chat addresses" are stored? would it be possible to just allow "custom" chat addresses, like you can add custom phone number labels?
[G1 Android Development] :
Twitter and facebook suck :P

Call grouping is for lazy people and erm strange people too. Why on god's green grass would anyone care how many times they have phoned someone?

And yes I am old and grumpy, just think people should be happy with the wonderful work that has been done already. The odd tweak here and there is fine but what your all asking i'd pull it off here and charge you all for it!

How many here moaning they want this or want that have even bothered to donate?

Next you'll be asking it to make your bloody dinner for you too!
[G1 Android Development] camalot:
I wasn't asking for it, i was asking if he knew if it was possible, since he has had his nose in the contacts app for a while now. I am willing to dive in it and see if I can make little tweaks to it.

But since you mentioned it, I would like meat loaf and mashed potatoes for dinner this evening :D
[G1 Android Development] Wysie:
Lol shadowch31. I'm okay with the suggestions actually, it's a good learning experience :)!

camalot: Yes, actually custom types for IM addresses are allowed. The only problem is if they're unknown, let's say there's a WysieTalk IM service, you will not see the "Chat using WysieTalk" as the header when viewing the contact. In fact, I took advantage of this to parse/fix the problem with people having "GTALK: gmailuser@gmail.com" instead of "gmailuser@gmail.com" as their email address. I'll post more info here once I'm done with the camera part. I finally managed to get it working the way I like! It fixes the aspect ratio, finally. :D
[G1 Android Development] camalot:
So, basically, it would just need the ability to select Custom from the list, set the name of the label. I am guessing, since I don't have the code in front of me, that the other selections, like AIM, Yahoo etc, become the "label" when they are selected.
[G1 Android Development] Wysie:
camalot: Right now you can already input any kind of IM addresses, just that the label will be blank. Try entering something like camalot@xda.com. To set a label, we just need to parse it (maybe parse the part after the @), and if it's xda.com, we take it as XDA Chat. Or something like that :).
[G1 Android Development] mailman1387:
Question

Hi i'm having trouble getting the layout on my enom rom so im using your way of installing the app.When i do it there is a bug.the Letter seperation is bezzerk.The fist letter under the contacts is U then A an thats it.Is it just my app or is it a bug in the app?What do i do if its my phone?
[G1 Android Development] camalot:
Yeah, but why not do it like the adding a new phone number or email, where they select the "type" as custom, then enter the label. I will pull your changes when I get home from work and see if I can see how it's done.

I like the Add photo changes, nice work. I didn't even know you couldn't do this already until I actually tried the other day.
[G1 Android Development] Wysie:
Just a screenshot :). It's working well already. Just finalizing some changes. 2.3 in a while.
[G1 Android Development] :
@Camelot

Sorry fella the mash spuds just smeared all over my monitor and my router exploded whilst trying to upload the meatloaf!
[G1 Android Development] Wysie:
Check the first post again, there's a version compiled for Enom's ROM... :). Or you can check Enom's thread. I believe he'll post 2.3 soon :).
[G1 Android Development] nolageek:
Wysie - love the mods man, this is great stuff. I have an idea - would it be possible to (optionally?) hide the "Text Home" and "Text Work" options when viewing a contact? It would seem to be that the Text/SMS option should only show up for a mobile number. (I guess technically a work number could be someone's second mobile number as well, but that's why it could be an option.)

That and T9 search on the contact list screen, but I don't want to be greedy. lol

Great job!
[G1 Android Development] camalot:
I am about 80% there for adding the custom IM addresses, then testing.

The default IM providers are located in android.R.array.imProviders, so I created a custom array in R.array called imProvidersCustom.
[G1 Android Development] nolageek:
Would be neat if, when you put a twitter account in for someone, it'll let you DM them - just need to open a messageing window with 'd <username>' sent to 41414 (or is it 14141?)

just an idea.
[G1 Android Development] vinz0r:
Thanks for the great work. Been updating as new versions are coming out. If I may make a suggestion:

Would it be possible to add a Copy phone number function (or email or whatever data field) so that I can paste it back into a Text message or GTalk? I find myself having to share contact information and I'm tired of having to "Edit" the contact in order to copy the field.

Thanks for the work. Going to push 2.3 now.
[G1 Android Development] FatBoyExtraordinaire:
This thing gets greater and greater.
[G1 Android Development] camalot:
It depends on your locale i think or something because the number i send to is 40404
[G1 Android Development] Wysie:
vinz0r: Looking into that right now.

nolageek: Good suggestion, although over here I can actually text home numbers :P. Will look into it.

camalot: Can't wait! Why are you creating another array though? I thought you wanted to create a type "Custom" and allow users to enter whatever they want? ;)

viettho: Could you do a adb logcat and then run the SMS/MMS function from my Contacts, and paste the entire chunk here? I'll see what I can find...
[G1 Android Development] Wysie:
2.31 will be out in a while.

Changes:

Fixed a bug whereby the temporary file created when taking a photo (for adding/editing of contact) will not get deleted if the user chooses to cancel his actions halfway.

Added copy when viewing a Contact information. Everything is copiable except for Ringtone and Groups.

Added preference for showing "Text" action for mobile numbers only. The code was actually 1/2 done already, I believe by ChainsDD ;)!

Update: 2.31 out.
[G1 Android Development] vinz0r:
Wow dude. That was fast. You are the man! Thanks for listening!

Gonna push it now!

This build is light-years ahead of the stock build. I think Google should take notice of this on-going project. Could you apply your knowledge to also spice up the standard Messaging app maybe? I don't know if the other dev is still working on it.... Anyways, thanks again. Keep up the great work.