yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] oMszKikiIzWavyo:
Uhh This Is So Aggravating Yours And Cytown Wont Work On My Phone. When I Put This On My Phone I Always Get An FC On "Procces com.android.settings)

I Just Flashed You New Update Threw Recovery Mode And That Didnt Work.

Someone Please Help Been Trying This Eversince Cytown And Xenio2000 Did This For The 1.6 Update
[G1 Android Development] xenio2000:
Updated: Phone.apk v21

updated the OP with the v21 in two sizes: 210x210 and 250x250 and a special 320px (full width)

thanks to Wysie for new offsets.

The 96x96 limit is still there in Eclair 2.0, Android looks like it could handle any size without problem, what need an improve is Google Contacts the web application is fixed to 96x96 and there is no way to get a better image.

Xenio
[G1 Android Development] oMszKikiIzWavyo:
OMG, Its Works Now YESSSSSSS..........SO HAPPY..................Lol Sorry.. But Damn This Is A Very Big Picture. But I Love It..

Keep Up The Tremedous Work
[G1 Android Development] Wysie:
xenio2000: Any way we can resize it and keep the call waiting info? I've yet to see what's causing it not to display, may take a look at it later but if you can point me in the right direction... :P
[G1 Android Development] xenio2000:
The call waiting info are not displayed because the background image is 420px tall, and his content area is totally used for the photo/name/number.

The info are pushed down over 420px and they are not visible on g1 screen.

I did a version with a 180px Photo with themed background resized to keep call info, let me know if you want it.

Xenio
[G1 Android Development] Wysie:
xenio2000: Yup I realized that after looking at the XML file. I have been editing some images to fit but it turned out ugly :(. So... Yes please :D. Could you pls release it here? Thanks!
[G1 Android Development] xenio2000:
Small fix/update to v21 full screen

Thanks to Cytown for the tips about apk optimization.

Now the v21 Full Screen is signed and optimized with apkopt, now the size is about 500kb as always was.

Also vertical flipped the background image with the color in the bottom.

The new file is in the OP

Xenio

edit:

@Wysie, ok again thanks to Cytown, now I can compile the source, I'll redraw the layout to keep the call waiting info. I'll do it later.
[G1 Android Development] Wysie:
xenio2000: Ah ok, good to hear that! Check your PM ^^.
[G1 Android Development] penerk11:
V21

Are we supposed to flash this file. If so I am getting a signature error on V21 themed. If not I am a complete idiot and feel free to tell me so:confused:
[G1 Android Development] mrnv45:
does this still include your and cyans version with contact photos in the contact section of Dialer?

currently interested in the fullscreen pics update!
[G1 Android Development] penerk11:
Nevermind it is working now!
[G1 Android Development] xenio2000:
@mrnv45

you are talking about the Contacts.apk

http://xdaforums.com/showthread.php?t=582508

this is Phone.apk and the two apps are totally indipendent.

Xenio
[G1 Android Development] mrnv45:
ahh genious! lol.
[G1 Android Development] xenio2000:
Request: v21 with call waiting info.

As requested a 180x180px Photo with the Call waiting info w/theme

Extract the Phone.apk from the archive and PUSH to the phone.
[G1 Android Development] mrnv45:
so how is the campaign for google to make better qulaity pics comin out?
[G1 Android Development] oMszKikiIzWavyo:
Do You Think You Can Make This An Update.zip, This Is The Only Way It Will Work On My Phone

Thank You
[G1 Android Development] Wysie:
xenio2000: Thanks for the update! :) I think you should link it in the OP as well :P.

oMszKikiIzWavyo: I made an update.zip for you. Check attached file. I just replaced Phone.apk in this file made by enomther and re-signed it :).
[G1 Android Development] mrnv45:
quicc question..

what format is the pic of the android when people call??

that picture never distorts... maybe if we convert pics to the same format..we can keep the qulaity in pics!
[G1 Android Development] oMszKikiIzWavyo:
Aww Thank You So Much, So Kind And Thanks For Listening

Keep Up The Amazing Work
[G1 Android Development] Wysie:
Np ;) did it work for you?
[G1 Android Development] xenio2000:
@Wysie

thanks for your help, file copied to OP.

Just for fun... some screenshot from the ECLAIR PHONE.APK

this is the original one, that came from the SDK 2.0

I know you want that call waiting but we have to wait from google or Cytown, or somebody else can make it possibile in Donut.
[G1 Android Development] Wysie:
Nice! Which ROM did you use?
[G1 Android Development] xenio2000:
That screenshot are from the Emulator with 2.0 SDK, there is some rom in the XDA forum but I thinks that the hardware does not work (bluetooth, camera etc.)

I am running TheOfficial from Enom, check my signature.

Thanks

Xenio
[G1 Android Development] daflameking:
Anyway you can tell me how you fixed this? Whenever I put this on my phone, its force close city for Phone.apk, every 2 seconds and it never ends.

Is this only for a specific version?
[G1 Android Development] Wysie:
New offsets:

0x459

0x46D

Updated 180px version with contact info. The one with "update" in the filename is the one you would flash like an update. The one without, well, just unzip and push :).
[G1 Android Development] vroomr4:
Thanks!! That was fast.
[G1 Android Development] xenio2000:
Working on V22

I am working for a v22 with a little bit restyle to gain space.

Photo: 250px

Removed dial button (it is still in the bottom but only invisible)

Modified Background and position for text Incoming call/dial/hold

it is almost ready

Xenio

Just a screenshot
[G1 Android Development] G1-evolve:
Is there no way at all to make the pics not look all stretched out?
[G1 Android Development] xenio2000:
The Photo are in sync with Google Contacts that resize and compress the photo a lot to 96x96px, changing Contacts.apk in Android I could manage picture of any size, but at the first sync all picture are scaled down.

You can get a better image (less compression) is add it with the Phone from your taken photo in the sdcard, adding photo in Google Contacts make it a lot worse.

As I said before post a comment here and make a request to google.

http://code.google.com/p/android/issues/detail?id=1265

there are only 20 comments, please push it...

Xenio
[G1 Android Development] xenio2000:
Updated: Phone.apk v22

Updated the OP with the 250px and 180px (thanks to Wysie for the 180px) Phone.apk V22

Xenio
[G1 Android Development] eessel:
hey xenio, I was wondering one thing. I just tried out your newest phonev22 update, and i'm liking the new layout. I couldn't help but notice how the modified 'Incoming Call' layout looks like an actual button. Which leads me to this question. Is there anyway possible, if you could it, or if it is possible all together, to make that 'Incoming Call' act as the 'talk' when clicked, to answer an incoming call? Just a thought. Thank you.
[G1 Android Development] xenio2000:
@eessel

Making an "answer" button on the screen was my first attempt when I had the source code of the Phone.apk, but I am not good at all at java language, I can just modify something there but not rewrite parts...

You could try to ask to Cytown in his thread, he is good with java.

Anyway, when I checked the first time the code there was an "hidden" button that show up in case of a device without the green button, I was able to show it and with a double tap you can answer the call... I'll try to do some tests with it...

Xenio
[G1 Android Development] eessel:
okay cool. Thanks. And yeah, I used the one with the 'double tap to answer' for a while. I liked that feature. Being able to just answer with just tappin' the screen was pretty nice to have. Is that update in the OP or do you not have that? And again, I really appreciate you lookin' into it. And i'll be sure to ask cytown as well to get his thoughts. :)
[G1 Android Development] xenio2000:
Test version with "Answer" button

Ok, I did a test version with an Answer's button, I changed the double tap to a single tap to answer.

Let me know if you like it.

Xenio

edit: file moved in the OP
[G1 Android Development] sbahri:
Thanks

Thanks for the source code, I wanna see the code.

http://zipclue.com
[G1 Android Development] renster721:
Xenio,

Thanks for all your work. I turned contact sync off, deleted and re-added contact picture, and I am still getting a fuzzy picture. I am using your v21 210px phone.apk.

I am also running latest CM. Is this maybe why the pic is still fuzzy? Or is there a separate contacts.apk that I need to flash?
[G1 Android Development] xenio2000:
@renster721

That's because the Contacts.apk need to be patched, when you add a contact picture the contacts.apk resize it to 96x96px, I did my first experiment long time ago patching the Contacts.apk to keep a 250x250px image and it works ok with Phone.apk, but when I discovered that there is no way to modify google contacts picture size in resync, I abandoned all the work, use the G1 without the resync is useless.

Xenio
[G1 Android Development] renster721:
Got it. I commented on the google forum you linked a few messages ago, hopefully google will do something about the px size. Thanks for the quick reply.
[G1 Android Development] Kinkin1:
I live in Jamaica, I downloaded the files for phone.apk listed above but when i try to install using APKInstaller it prompts me to Dialer and says it could not be installed on this phone. I'm new to all of this so please HELP!!!
[G1 Android Development] Iridox:
Sorry if this has been answered already, but does this work with Eclair and the Droid?

Thanks.
[G1 Android Development] DBeCe:
Thanks Xenio, I love this dialer but is there any way to see when the other phone starts to ring like the old dialer that showed a little launcher? Maybe you could put a counter in 00:00 when it makes the first beep and when you start to speak it starts with 00:01...
[G1 Android Development] cacheinjection:
you cant install it like that, i would suggest you just install it like any other update.zip
[G1 Android Development] arefin:
How to uninstall this?

Hey friend,

s there a way to get back to the original phone? I like your MOD but now I want to get back to the original. :-)

Thanks in advance for any suggestion.
[G1 Android Development] eessel:
just reflash the cyanogen rom. Flashing the htc recovery image of course, and you should back to the old one.
[G1 Android Development] cacheinjection:
@xenio2000

Hia mate, first off thanks for all the great work you have been doing.

so to me asking to work more lol,

i was looking through the source of phone.apk, in layout there is an xml called incall_screen.xml and in there there is this:

<FrameLayout android:id="@+id/mainFrame"

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android: paddingTop="10dip"

android: paddingLeft="6dip"

android: paddingRight="6dip"

i would have thought that removing the padding from this should remove the borders from around the edge of the background image.

i may be wrong, but i think it would look much better if the background image was fullscreen.

anyways, as far as i am aware your source isnt avaliable, so was wondering if you could posibly do an update with that file edited if you think what im sugesting would work.

Sorry to ask you to do more work

cache
[G1 Android Development] Wysie:
cacheinjection: xenio's source can be found here: http://github.com/xenio . cytown's one here: http://github.com/cytown
[G1 Android Development] xenio2000:
@Wysie, thanks ... I am always waiting for you to make some REALLY improve as you can do in Phone.apk and Mms.apk (maybe the photo in the Sms list :-) )...

@cacheinjection Yep, I'll take a look, I was busy lately, the BG images are placed by java code not with the xml, I'll try to remove that padding to get rid of that black bars.
[G1 Android Development] cacheinjection:
thanks wysie, i think you are my guiding star today.

te he, will get on to editing the source now
[G1 Android Development] cacheinjection:
Was a bit busy with other stuff, but what i sugested worked to remove the black borders, thats cool.

Was just wondering if you could tell me what you did to hide the dialpad tab xenio2000? im guessing it was something in dtmf_twelve_key_dialer.xml, but i cant workout what exactly to do.
[G1 Android Development] xenio2000:
What I did to hide the Tray Tab is to add: android:visibility="gone"

the file is what you found and you can add that line around the line 60

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dtmfDialpadHandleLabel"
...
...
android:background="@drawable/tray_handle_tab"
[B]android:visibility="gone"[/B]
/>

...and the annoying border, as you said, can be removed setting to zero the padding, thanks.
[G1 Android Development] joshuas_79:
nice work, but : would you care if I phone Evangeline and ask her to go out? I'm in love with her....;)
[G1 Android Development] cacheinjection:
Thanks for the help xenio,

and thanks for all your hard work, the phone apk for darkstar is looking great now.

I have attached a couple of pictures so you can see how the edited code looks.

Cache
[G1 Android Development] xenio2000:
I knew I should have to hide the number LOL :mad:
[G1 Android Development] FatBoyExtraordinaire:
Sorry for the probably dumb question, but can this be flashed onto Cyan .12 without any issues?
[G1 Android Development] xenio2000:
!! Experimental !! Custom background

I am Working on this... custom PNG background!! now the PNG for the status of the call (gray, red, green etc. pngs) are transparent and will be in overlay mode on the custom background.

custom background: res/drawable/bg_custom.png (320x480px)

The PNG's gradients are now with an error diffusion dither that give a better gradient transition.

If you want try it:

Back up first!!!!

FLASH it in recovery mode (update.zip)

Remember: No CALL WAITING INFO in this mod

Pushed to my GitHub

Xenio

@FatBoyExtraordinaire

This is based on the Cytown version and Cyanogen is using the same... So I think it works, but backup your Phone.apk first.
[G1 Android Development] GNOve:
Can this work on a motorola droid?
[G1 Android Development] xenio2000:
I don't think so, it is only for 1.6, Cytown has just released his Phone.apk modded for Eclair, check his thread.

Xenio
[G1 Android Development] eessel:
Just tried this on cyan 4.2.12.2, and it works well. i like it. i guess the option to change backgrounds is more for dev purposes, or will the further user options in the call settings or something to change the color? thanks.
[G1 Android Development] xenio2000:
Yep, it is for peoples who works on Themes, I added in the code only the call for a custom image, no options for users.

To change the custom png is not difficult, check the Theme Forum how to change images inside an .apk

It is something like, open my .zip with winrar -> system -> app > extract the Phone.apk (this is the file you need) from then check the thread...

http://xdaforums.com/showthread.php?t=467639

Xenio
[G1 Android Development] mrnv45:
just un update ... i now get full resolution 350 x 350 or 300 x 300 forgot what custom size u made for me.. full quality pics!! even after syncing and rebooting!!!...

thanks for yalls hard work!!
[G1 Android Development] xenio2000:
Full width should be 320, how do you get full quality with sync?!!!! :eek::eek::eek: I am trying to upload an image to Google Contacts...

edit:

something new here... http://www.google.com/support/forum/p/Google Mobile/thread?tid=664ea04c436540e5&hl=en

Mhmmmmm... very interesting I am not getting sync for images... but Contacts.apk crop and store at 96x96px, I'll fix the code to store 320px image now...

Arghhhh! No way, compiled a special Contact.apk with 320px picture stored in the G1, and it is fantastic until resync... after that, downscaled 96px again.
[G1 Android Development] mrnv45:
i have the new version of the phone.apk from wyser..or whatever his name is.. im running 4.2.9.1....and i still have that phone.zip you sent me with the bigg pics... i use syncmypix for my facebook contacts... and ive synced..re flashed...roms...rebooted and still all imagages are hi res full size.. idk how...but i got it!!!

here is the contact/phone.apk i updated..then i flashed the big pic u sent me at the same time i flashed the rom..

http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Contacts_wysie_2.7_update_signed.zip

then phone.apk with BIG PICTURE

http://depositfiles.com/files/orxnmufjuView attachment 266497
[G1 Android Development] eessel:
Does the big picture link you posted still have the green onscreen answer button?
[G1 Android Development] mrnv45:
aorry miss read your post.. no the onscreen answer is not on there i was thinkin of the Gradient for some reason.. sorry i was thinkin of two different post lol.
[G1 Android Development] FatBoyExtraordinaire:
Looks really good and want to try it so thanks for the help. Just 2 quick questions, if you don't mind. Where exactly do I have to look for my original phone.apk at? I'm sure I'll have to use some root explorer but where to look. Secondly, If I want to go back to my original phone. apk, do I just re-install the apk I extracted? Thanks in advance.
[G1 Android Development] mrnv45:
can u copy the nexus call screen??

the one with the "flan" side sliders to call and answer!!
[G1 Android Development] oMszKikiIzWavyo:
What About The Lag In The Phone.apk, Will You Fix It To Make The Incoming And Outgoing Calls Faster?
[G1 Android Development] cacheinjection:
if you mean the one thats from your rom then you can just grab the phone.apk out of Cyanogens Update.zip (its in system/app/), copy it to your sdcard then go to teminal emulator and type this:

su
mount -o remount,rw /system
cp -r /sdcard/Phone.apk /system/app/
mount -o remount,ro /system
exit
exit

Dont worry about any force closes you get when your doing this, phone.apk just doesnt like being changed while the phones running, but this works fine trust me.

or if ya wana grab the one that you currently have installed then type this in terminal emulator to back it up on your sd card:

su
mount -o remount,rw /system
cp -r /system/app/Phone.apk /sdcard/
mount -o remount,ro /system
exit
exit

then to put it back on just use the firest bit of code in this post
[G1 Android Development] xenio2000:
It is possible to have full resolution photos

OMG, thanks to the info from mrnv45 I have now FULL RESOLUTION PHOTO using SyncMyPix from market, what it does is to download photos from your facebook contacts and CHANGE SOMETHING in android to prevent Google Contacts to sync it...other contacts that are not in Facebook are resample down to 96x96px

I am trying to get in contact with the developer to have more info about what he did...

If anyone have more info about it, please let me know, we can change the Contacts.apk to store full res photo inside the Phone and stop resync for them.

Xenio

Edit:

SyncMyPix is OPEN SOURCE --- > http://github.com/nloko
[G1 Android Development] FatBoyExtraordinaire:
Thank you so very kindly for the clear and easy directions. Much appreciations.
[G1 Android Development] mrnv45:
yess xenio we are on to GREATNESS!!! i swear if we can get an app that installs custom contact pictures similar to syncmypix but instead we can update from facebook and sd card and keep the hi res!!

mayn im excited lol
[G1 Android Development] :
Your not the only one excited!

I don't use facebook so to be able to use sd card for pics would be amazing!
[G1 Android Development] mrnv45:
yuh hopefully we can get the actual sync to synv full quality pics.. i wonder if syncmypics is stoppin the proper sync for the contacts.. or is it jus blocking picture sync...

any ways.. i hope this is a new break for android!
[G1 Android Development] mrnv45:
so whats the word... any word on that script? flag..
[G1 Android Development] xenio2000:
I passed the info to Wysie, but he is very busy, I did some test but with no luck, I am not good with Java.

We need a real coder for this patch...

I am looking for, but I am busy too I am working on my project on Android.

Xenio
[G1 Android Development] mrnv45:
thats cool..

mayn i hope we can get a modify on the 2.1 eclair on that link i sent you...

is it impossible or hard?
[G1 Android Development] Neejay:
Just to confirm: there is NO version WITH BOTH the answer button AND call waiting info?

hopefully I'm missing something, otherwise I'll have to stick with the stock 1.6 phone.apk :(
[G1 Android Development] yokonunz:
Cancella i numeri che cè pieno di marpioni al mondo!! :) :) complimenti comunque
[G1 Android Development] xenio2000:
Nope sorry there is no space to put all the infos on the screen.

@yokonunz

I numeri sono fasulli sono giusto per testare dall'emulatore, magari avere come contatto Evangeline Lilly... :eek:
[G1 Android Development] Neejay:
Ah, ok. Without the call waiting info, what's shown when someone calls?
[G1 Android Development] xenio2000:
If you are in a call if someone else call you, the screen shows the name, photo and number of the incoming call, like a single call, you can accept it and the other party goes in hold but you don't see the info, you have to use the menu button, to switch, merge, or whatever you want, the calls.

Check the last screenshot from the opening post, the Current Call and Hold line text are not displayed in the No Call Waiting info version.

If you want the Call Waiting info you can use the update_v22_180px_callwaitinginfo_signed.zip file, the Photo is 180px (a lot bigger than the stock app) and there are the infos.
[G1 Android Development] QUEDRO:
I was just about to ask the same question.

Thank you much for your answer and all general effort for this APK. I was looking for a bigger picture mod since I got the phone.

Keep it updated ;)
[G1 Android Development] yokonunz:
asd :P ho fatto una prova quel numero squilla LOL
[G1 Android Development] Neejay:
Ah, ok. I wasn't sure what, in the last screenshot, made the incoming call info unique. I flashed the update_v22_180px_callwaitinginfo_signed.zip file without any problems. Thanks!
[G1 Android Development] thugmafia:
will this work on the 2.1 eclair rom?
[G1 Android Development] thenameismax:
No....search Cytown Eclair and you will find what you are looking for
[G1 Android Development] QUEDRO:
Full Res Photos

So ok, I am confused now. I am using this phone.apk and wysie's contacts.apk and syncmypix, now I synced my contacts with facebook with high res photos, but I still getting low resolution pictures when I recieve a call. I guess google/android still resize them.

I saw that Xenio is excited about syncmypix that it stops resizing. Now, I am wondering, is it the wysie's contacts.apk makes my photos get shrinked or I do smth wrong here.

PS: My question is, HOW TO GET full resolution of those photos synced with syncmypix on recieving calls?!
[G1 Android Development] xenio2000:
With SyncMyPix you can have full resolution ONLY for the contacts that are in you facebook account, for other contacts you always get 96x96px photo on resync.

The stock or wysie contacts.apk still resize to 96x96px but it does no matter because Google contacts resync always at low resolution.

I did some test with the help of the developer of SyncMyPix but I am not enough good in Java programming, and I did not get any interesting result...sorry.
[G1 Android Development] QUEDRO:
Well, yeah, I got this, but even for those contacts synced with SyncMyPix I still get low res photos after I link them (in SyncMyPix "Results" I see high res pictures), probably because of Wysies apk.

I was using 180px with info, and only today when I tried to use dialpad during a call, i was not able to pull it out with the slide button, I used menu instead, even so I could not press any buttons, like it was frozen. So this kind of a big deal for me )

Currently moved to original phone.apk
[G1 Android Development] rjl09:
hey Xenio,

is there anyway possble the slide button to answer the call will ever be implemented on any future phone apk.'s...or are u done with the phone apks???..thanks