Dialer on xperia phones - Android Q&A, Help & Troubleshooting

I'm currently trying to theme my dialer for my xperia play ; I've found that its located in semcdialer.apk but my problem is with changing the text colour of the numbers - They don't seem to be in picture format so i presume the information is stored in the xml files but I can't edit these using notepad++ (most of it is giberish).
EDIT- Fairly new to all this and i'm guessing there's a simple solution like using another program...

Am i allowed to bump my own topic?

Related

Possible to remove picture icon from "contacts"?

Probably more of a general Android question, but thought I'd give it a go here. On way to work shortly, so apologies for my lack of proper search.
Once upon a time on my SGS, someone showed me where these icons are located - I'm sure I'll find them again, but I guess I'll have to do some kind of text realignment, which is probably out of my depth.
I just want my contacts to show as a list - no icons, no photos.
Stock KE2, rooted via CWM, have Root Explorer.
Many thanks to anyone who can point me in the right direction - will do further research when I get to work.
Hello!
Yes I have same question!
I Dont use photos for Contacts - So it use Empty Icons and neccesary space so....
Please Help to remove Contacts Photo Icons from Logs and Contacts PLEASE!
XWKK5
SGS 2
wrong forum
Right forum!
Please Help!
Might not be what you want but you could replace the image with a blank one in the framework or twframework file.
Sent from my GT-I9100 using XDA App
No. Pictures(res\drawable-hdpi-finger\contacts_default_image_small_01 - 05.png) are in Contact.apk file. When I remove'em from it - empty spaces remain there - so it's not expand Contacts lines to that space... So we need to encrease table row size...
Well, the contacts db is located here:
/data/data/com.android.providers.contacts/databases/contacts2.db
I don't know how you plan to decipher this file. It's neither xml nor plist (like iphone).
Sent from my GT-I9100 using Tapatalk
I just checked go contacts ex and it can do what you want via a setting. Works very well.
Sent from my GT-I9100 using XDA App
dikai_yang said:
Well, the contacts db is located here:
/data/data/com.android.providers.contacts/databases/contacts2.db
I don't know how you plan to decipher this file. It's neither xml nor plist (like iphone).
Click to expand...
Click to collapse
The contacts2.db is a sqlite database file. You'll need the sqlite3 executable to view it's contents (eg. sqlite3 contacts2.db).
Don't think it'll do what the OP wants as it contains contact details and not the layout of the contact list. Think you'll need to decompile the apk and edit one of the drawable/*.xml files.
Haven't really looked at this but a guess would be it's one of the .XMLs in res/laout in the Contact.apk where you can edit out the imageview for the photo.
Yep, looks like it's in res/layout/favorite_contact_list_item.xml
Someone's reading my mind - I was thinking of bumping this thread last night... spooky!
As suspected, I'm out of my depth here - but thanks for the replies everyone, I may try to get back into my depth over the weekend. It's one of those not-really-a-big-deal-but-it-still-bugs me things.
Just switched from adw to Go launcher. Not a fan of 3rd party apps for contacts/SMS, but I'll give it a look.
Thanks again to all.
I tried GO launcher. Wasn't a fan of it. Anyway on ICS these picture icons are even more of a pain! Why do you need a picture of yourself next to every text you send in the thread!?!? And why do you need a picture of the person you are texting next to their text. Have a picture of the person on the list of threads fine.... but not in the thread itself thats stupid and takes up to much screen space.
Who wrote that into ICS? Not an improvement!
Has anymore found a way to change it in ICS?

[Q] Modding apk to change text size

Many new phones have very high resolution screen, and thus text size may appear tiny in some apps.
I prepare to solve the problem by modifying apks to suit my own need. Unfortunately I have little knowledge about android programming.
One apk I intend to modify is "B-Folders", which is a very useful personal information organiser and is one of my favorite apps. I emailed to the author more than a year ago without getting any improvement. I can only help myself by modding the apk.
I successfully decompiled the apk, searched everywhere for "textsize" or "setTextSize" or something similar, made changes, re-compiled and re-signed the apk. And now, the text size while viewing is now much bigger, but the text size during typing in text box, i.e. input mode, remains very small. I spent many hours struggling to find possible related lines in the decompiled codes and failed to locate it.
I wonder if any experts here may offer me some hints?
aeioo said:
Many new phones have very high resolution screen, and thus text size may appear tiny in some apps.
I prepare to solve the problem by modifying apks to suit my own need. Unfortunately I have little knowledge about android programming.
One apk I intend to modify is "B-Folders", which is a very useful personal information organiser and is one of my favorite apps. I emailed to the author more than a year ago without getting any improvement. I can only help myself by modding the apk.
I successfully decompiled the apk, searched everywhere for "textsize" or "setTextSize" or something similar, made changes, re-compiled and re-signed the apk. And now, the text size while viewing is now much bigger, but the text size during typing in text box, i.e. input mode, remains very small. I spent many hours struggling to find possible related lines in the decompiled codes and failed to locate it.
I wonder if any experts here may offer me some hints?
Click to expand...
Click to collapse
Have you looked at the dpi settings of your input method? Text size for input may be related to keypad you're using (especially third party apps) rather than the app you're currently typing in.
yeah is there any way to modify font size or dpi by editing the apk
Sent from my Blade using Tapatalk 2
Stryke_the_Orc said:
Have you looked at the dpi settings of your input method? Text size for input may be related to keypad you're using (especially third party apps) rather than the app you're currently typing in.
Click to expand...
Click to collapse
This question is difficult, I would also like to solve this problem, I hope people know I'm waiting
vNa5h said:
yeah is there any way to modify font size or dpi by editing the apk
Click to expand...
Click to collapse
There should be a font package, or layout in the apk your editing if it has its own fonts/dpi settings.
Sent from my SPH-D710 using xda premium

[Q] SMS messages. How does android turn text into emoticons?

With SMS messages, android by default turns this : ) into this (figuratively)
Where might the code be located that does this text to png recognition? I know the png themselves are located in the framework-res.apk but couldn't fine the code that pulls those png whenever anyone types in : P.
My friend and I want to try and insert keywords that are recognized by the phone to insert a new png emoticon. We know that only we will see the emoticons when anyone types the keyword but that is our goal.
I tried looking around the framework-res.apk for this but all I found were animations and images.
It is actually stored in the font files for Android. Back in my htc rezound days I wrotea file that enabled the jellybean emoticons on ics. I can't remember off hand where those files are or what you need to change, not sure if samsung handles its fonts the same. But hopefully this helps you some. I can look into it at some point for you
Does anyone know where the font directory is that Oakley is talking about?
Or anyone have any more insight?

Battery icons in KitKat

Where are they? I checked the framework-res and SystemUI of an AOSP rom, and they're just not there. Does anyone know?
Sent from my GT-I9100
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
yuriy636 said:
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
Click to expand...
Click to collapse
Changing them changes nothing. I've also been looking, haven't found them yet
has anybody found where the battery can be changed?I changed and added my mods in almost every apk, such as contacts,sytemui,framework-res,dialer you name it -I have them in there but still shows the default very frustrating!Same thing with the dial pad it also shows default on the initial dialer but the in-call dialer I was able to theme.
EDIT Nevermind -I have found out the battery among some otherthings are now generated in code in 4.4 ,So sorry to all the modders that like to change things easy.It will now require much more to make changes that were once a matter of changing a few png files or maybe and xml here and there.Lerts hope there are themers out there that find a way around this
I found this post what mean that battery icons is draw by code:
http://forum.xda-developers.com/showthread.php?t=2513466
Right now, the only thing I could find is how to add the % number in the icon.
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
Before.
As the icons are drawn, can't we remove the goto scrpt and use a old drawn icon xml file
try my last mod guys, it can be found in my signature..

[Q]How to identify drawable name/id on running app?

Hi! I'm new into creating themes, and I'm looking for a tool that could make it easier. I know how to extract .apk, how to replace images, modify .xmls, but often I don't know what an image is for. Let's say im modding SystemUI and I want to change background of my notification bar. The only thing I know is that inside drawables folder I have to look for something named notification_bar.png, something like that. I was looking for an app that could tell me how an image inside an app is called in code ( example: I'm inside calculator app, I press on background and the app says that file is called background.png and is inside drawables-xxhdpi). I tried Android Studio --> Layout Inspector, but it didn't help me at all because, well, I just don't understand it.
Of course, while modifying SystemUI I can look for explaination of certain pngs on the internet, but
-not every SystemUI is the same
- if I want to change drawables of an app that doesn't have specific explaination I have to know how to identify drawables.
It must be possible somehow, because I've run into some themes that modify external apps (like WhatsApp, SuperSU etc.)
Those ppl had to know what certain .png is for, the question is: How?
I don't believe they just had to sit there and try every possible combination.
Also, inside SystemUI there's A LOT of files that are never used, and their names can be misleading.
Is there any way to identify drawable inside running app easily? Without digging in code and guessing?
Thanks in advance for any answer
I tried to analyze Mms.apk (it's system app). I was looking for a drawable representing default contact icon, here called ic_contact_picture.png .
I actually managed to find a proper layer in Layout Inspector(ConversationListItem.xml), analyzed it and found a code referring to table "id" in resources.arsc . The object the id referred to was called "avatar". And that's it. I couldn't find id(I got it from resources.arsc/drawables) of ic_contact_picture.png anywhere in that layout. There was only id referring to "id/avatar". It doesn't make any sense.
How do I find drawables using Layout Inspector or any other tool?
It was easier when it came to text. I also found an id referring to resources.arsc/id, but that id was included in the layer I was looking at (ConversationListItem.xml).
But I still wasn't able to perform any action on that text, because there wasn't any setting like text color or anything, there was just a line android:textAppearance="@attr/0x1010041"
It is an attrib from framework-res.apk, but when I opened framework-res.apk and found that attrib there was no reference to anything like color, font, so there was nothing I could really do.
Can someone help me with those 2 problems?

Categories

Resources