PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   [UPDATED!] City AND State of Area Code on Incoming Call Screen [VZW Support Added!] (http://forum.ppcgeeks.com/showthread.php?t=115496)

[sammich] 03-23-2010 06:55 PM

[UPDATED!] City AND State of Area Code on Incoming Call Screen [VZW Support Added!]
 
1 Attachment(s)
Howdy!

I just finished a little project I started earlier today. This tweak updates the HTC area code / location database to include both the city AND state of the call. For Canadian area codes, I have added "(Canada)" at the end of the listing, and for international calls (such as Bermuda, Trinidad & Tobago, etc.) I have added "(INTL)" to the end of the listing. If you're confused, just take a look at the screenshots below, they should clarify everything.

This tweak should work on any device that currently displays which state a call originates from.



NOTE:
1. THIS IS NOT AN APPLICATION. This is a registry tweak. There is nothing running in the background to slow down your device!
2. I spoofed my phone number to get the examples pictured below. The (710) area code is reserved for government use ONLY [so I hope I didn't dig my own grave my spoofing my number to that!]
3. As you know, an area code can cover a massive number of cities. I used the most recent area code database, which listed every city covered by the area code. Within each area code, the largest metropolitan cities were indicated. I mapped the coverage of the area code and selected the most central of the major cities. Therefore the reported location gives a general idea of where the number originates from.
4. I am receiving reports from many VZW ROM users that the location information is not shown on the incoming call screen. Please see below for a fix.

I skimmed over the list a few times to check for spelling mistakes/typos, but it is possible that I missed something. If you get an incoming call and, for example, it says "Toldeo, Ohio" instead of "Toledo, Ohio", or perhaps the location information is too long and therefore cutoff the screen, PLEASE LET ME KNOW! I will update the tweak to ensure the mistake is corrected.

[For any Texas A&M Aggie fans, a user requested a tweak to the 979 area code, which I have posted here.]

Code:

CHANGELOG

04/16/2010:
# Fix for VZW and possibly other carriers added

03/24/2010:
# (502) area code updated (thanks Rhodium500)

03/23/2010:
# Initial release
# (724) area code updated (thanks badwolf)
# (323) area code updated (thanks Bdurst08)

ROM Chefs: feel free to use the XML in your ROM!
I do request one thing, however. If you wish to post this elsewhere, just mention my name in your post. Thanks! :)

NOTE TO VZW USERS (and those who cannot get this tweak to work on a stock dialer):
Drewcam has found a fix! If you install the .cab attached below and the tweak does not work after a soft-reset, click here to download his fix. Don't forget to thank him at his post here.



Any work I do, tweaks I make, or fixes I provide are for the community to use and improve their devices. I have been asked if I accept donations which is why I am writing this. To be honest, just knowing that my work helps others makes me happy. However if you feel the need to show your appreciation in another way, I have setup a Paypal donation link here. But still, leaving a message saying that you like my work is thanks enough! :)

telsea 03-23-2010 06:58 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Thanked you!

DarkLord 03-23-2010 07:03 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
dude. you are my hero!!

pokerjv 03-23-2010 07:07 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
sweet, thank you!

badwolf 03-23-2010 07:19 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
just dl'ed and checked the setup xml... <parm name="724" datatype="string" value="New Catle, Pennsylvania" /> 724 is a south west pa overlay offshoot of the Pittsburgh 412.
You might want to call it Suburban Pittsburgh. Anyway it would be New Castle. Not New Catle....

Thanks

[sammich] 03-23-2010 07:26 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by badwolf (Post 1654266)
just dl'ed and checked the setup xml... <parm name="724" datatype="string" value="New Catle, Pennsylvania" /> 724 is a south west pa overlay offshoot of the Pittsburgh 412.
You might want to call it Suburban Pittsburgh. Anyway it would be New Castle. Not New Catle....
Thanks

Good catch, badwolf. I have updated the 724 area code to show Pittsburgh, as that is the closest major metropolitan city. Thanks!

kernel610 03-23-2010 07:35 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
wow, this sounds awesome. Can't wait to try it!

osva 03-23-2010 08:17 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Did you by any chance included Puerto Rico (787)?

bdurst08 03-23-2010 08:45 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Sweet!! Works great. Found spelling error. I have GV# area code 323 and you have Las Angeles instead of LOS Angeles. very good app though!!!! Keep it up.

[sammich] 03-23-2010 09:01 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by osva (Post 1654432)
Did you by any chance included Puerto Rico (787)?

Yes, Puerto Rico is included. Incoming calls from that area code will indicate they are international.
Quote:

Originally Posted by bdurst08 (Post 1654517)
Sweet!! Works great. Found spelling error. I have GV# area code 323 and you have Las Angeles instead of LOS Angeles. very good app though!!!! Keep it up.

Good catch. I updated the cab and the first post.

GirlGoneGeek 03-23-2010 09:14 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Very nice and thanks a lot for the new tweak! I did press the button :)

Trying on my diamond now

Capsyze 03-23-2010 09:39 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Cool App...

TweetyBear 03-23-2010 10:25 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
awesome job sau! will try it out now

EDIT: looking at the XML so far, i see noticed a few area codes that cover many cities so i dunno how that would work out with this. such as 985 u put as Houma, LA but it's also Slidell, LA for example.

boredandtattooed 03-23-2010 10:34 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
if its all registry stuff , cant you just goto the reg string and change the spelling if your city is misspelled... that should fix it since its not an app.. right??

Kudos btw creator!

[sammich] 03-23-2010 10:34 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by TweetyBear (Post 1654764)
awesome job sau! will try it out now

EDIT: looking at the XML so far, i see noticed a few area codes that cover many cities so i dunno how that would work out with this. such as 985 u put as Houma, LA but it's also Slidell, LA for example.

I used the most recent area code database, which listed every city covered by the area code. Within each area code, the largest metropolitan cities were indicated. I mapped the coverage of the area code and selected the most central of the major cities.

Overproof 03-23-2010 11:38 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
This cab didn't work for me, i'm running NRG ROM with a dusk dialer installed if that means anything.

leanne 03-23-2010 11:45 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Sweet! Thanks! DL now.

dalastone 03-23-2010 11:56 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
This is awesome! thanks!

joeadamo 03-23-2010 11:59 PM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Neat ap! Great Job!

[sammich] 03-24-2010 12:03 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by Overproof (Post 1654993)
This cab didn't work for me, i'm running NRG ROM with a dusk dialer installed if that means anything.

Does the dusk dialer normally show location information when receiving a call?

pinkbunniz 03-24-2010 12:12 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Great work on this cab only its telling my my grandma's number is a kenosha wi number when its a west bend, wi number any fixes? thanks again for the great work!!

mlambert77 03-24-2010 12:19 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Sweet, this rocks! Though instead of College Station, TX..should have just been Aggieland, Tx, but hey, that's just me.

[sammich] 03-24-2010 12:55 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by pinkbunniz (Post 1655102)
Great work on this cab only its telling my my grandma's number is a kenosha wi number when its a west bend, wi number any fixes? thanks again for the great work!!

Check the first post under notes: #3.

Since area codes are spread over a vast amount of cities, the most central and largest metropolitan city is chosen to represent that area code. Since all this data is contained within the phone, it's impossible to get more precise information, because we would need geo-data from the person making the call.

Quote:

Originally Posted by mlambert77 (Post 1655122)
Sweet, this rocks! Though instead of College Station, TX..should have just been Aggieland, Tx, but hey, that's just me.

I was contemplating putting Aggieland, but the folks in Austin would get jealous :D (Are you from Aggieland, btw?)

pinkbunniz 03-24-2010 01:12 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
[QUOTE=⌥ saumaun ☢;1655218]Check the first post under notes: #3.

Since area codes are spread over a vast amount of cities, the most central and largest metropolitan city is chosen to represent that area code. Since all this data is contained within the phone, it's impossible to get more precise information, because we would need geo-data from the person making the call.QUOTE]

Ok lol im a bit too excited sometimes but thanks for clarifying!! Beats having to buy cityid everytime i would flash or reflashing just to get the trial lol so once again great work and thanks a ton!!

WhiteBlazer01 03-24-2010 01:24 AM

Wirelessly posted (HTC Touch Pro 2: Opera/9.80 (Windows Mobile; WCE; Opera Mobi/WMD-50430; U; en) Presto/2.4.13 Version/10.00)

Merci, Sauman! :)

Sim-X 03-24-2010 02:10 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
WOW - what an awesome tweak - found it via mikes tweat via my new twitter tab! What an excellent tweak - thanks & thanked

Tink 03-24-2010 10:12 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by ⌥ saumaun ☢ (Post 1655218)
I was contemplating putting Aggieland, but the folks in Austin would get jealous :D (Are you from Aggieland, btw?)

Ummmm, "Jealous" wouldn't be the word that us Austinites would use..........:twisted: hahahah ....... (I've been dying to say something to ya', you being an Aggie and all........... My lip's bleeding from biting it so hard!:sign5: ) I still love ya' though, Saumaun.... lots! :mrgreen:

wirecutter 03-24-2010 10:20 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Looks good! I'd recommend:
519 and 226 'Southwestern Ontario (Canada)'
905 and 289 be changed to 'Southeastern Ontario (Canada)'

The pairs are overlapping sets that coverge large geographical area.

Rhodium500 03-24-2010 10:27 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
502 area code. Yes it does include Frankfurt,KY but it is mainly Louisville, KY
http://en.wikipedia.org/wiki/Area_code_502

metrodjs 03-24-2010 10:27 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Thank you!

djqwikcut 03-24-2010 10:47 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Hmm.. I loaded it and I live in area code 856 which covers a LOT of southern NJ.. When I am at work in PINE HILL NJ and the phone # I call from is a Berlin NJ exchange, it onyl says CAMDEN.. I guess there is no way to fix since its only looking at 856 and not 856-xxx

BullyDawg 03-24-2010 11:06 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by ⌥ saumaun ☢ (Post 1654201)
This tweak should work on any device that currently displays which state a call originates from.

Thanks, Sauman! I tried on my VzW TP2 running a stock 6.1 rom. No luck. ](*,) How do I get the state (or, after your cab, the city/state) to show up on the call screen? :???:

Thanks.

jason25 03-24-2010 11:07 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
I hit the thanks, but wanted you to know that I THANK YOU! I don't really need this but it is geeky cool.

DesiChora 03-24-2010 11:09 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Works great on Sprint OEM 6.5 ROM. Thanks!

reprod 03-24-2010 11:10 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by BullyDawg (Post 1655914)
Thanks, Sauman! I tried on my VzW TP2 running a stock 6.1 rom. No luck. ](*,) How do I get the state (or, after your cab, the city/state) to show up on the call screen? :???:

Thanks.

You first need a compatible dialer installed before you can see this reflected on your call screen.

Rhodium500 03-24-2010 11:18 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
I assumed the dialer on the vzw tp2 is the same as the sprint tp2. What is the difference? They look exactly the same

raidzero 03-24-2010 11:21 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Thanks, cool stuff. this will be in my ROM form now on ;)

BullyDawg 03-24-2010 11:24 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by reprod (Post 1655935)
You first need a compatible dialer installed before you can see this reflected on your call screen.

Any suggestions on a compatible dialer? And what about those that say you shouldn't mess with the dialer on a stock rom? Thoughts? THANKS>

raidzero 03-24-2010 11:51 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Quote:

Originally Posted by BullyDawg (Post 1655962)
Any suggestions on a compatible dialer? And what about those that say you shouldn't mess with the dialer on a stock rom? Thoughts? THANKS>

I am using the dialer from the VZW 6.1 stock ROM and it shows the state.

here are the packages I have:

Code:

PhoneCanvas_5_26_0_0
Phonecanvas_MASD_3_40_35284_0
PhoneExt_Service_2_43_0_0
PhoneSetting_1_40_0_0
RZ_phcanrc
RZ_sauman_AreaCodes


zachin2036 03-24-2010 11:53 AM

Re: [NEW!]City AND State of Area Code on Incoming Call Screen
 
Thanks Saumaun!

Tough release to put out since obviously everyone's got a more local name for a section of a major metro area - you probably knew you'd have to go through the "can you make _____ into ______"...

but great job!


All times are GMT -4. The time now is 07:20 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0