Editing widgets/.apk files? - Nexus One Themes and Apps

Hey guys. Just a quick question. I've successfully edited the images inside a few .apk files to match my theme and then installed them on my phone without any problems.
However, now I'm trying to edit some .apk files that are apps with widgets. Specifically, Advanced Task Manager and N1 Torch. I wanted to edit the widgets' image files so that the "focused" and "pressed" highlights of these apps' respective widgets are no longer Android's hideous orange color. But when I make changes to the widgets and install my modded .apk files, the widgets are broken. They won't load. Any advice? Thanks.

mabe http://forum.xda-developers.com/showthread.php?t=669577

Never mind. Got it all settled. Fixed my widgets. Thanks.

Related

Shortcut/Start Menu pictures on installed app

Where do add-on apps I install store there shortcut pictures? I have one app who's quicklink picture looks way old and out of place, but I can't seem to find the picture on my phone so I can change it and make it look more modern.
Anyone know?
well, to answer you question, i don't know where they are stored.
but to change them, i use Change Start Menu Icon. works perfectly and does the grunt work for ya.
cheers.
I found the problem. The app is hard coded the start menu icon into it's code somewhere (like exe files on your pc sometimes do).
Anyway, I found where programs point to their start menu icons in
HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\ProgramName.lnk
This app didn't have a Icon entry like some of the others, so I added one and pointed it to a Icon.png file I had made for it and placed in the same directory the program was installed in.
Powered off the phone and then back on and it's using the new icon.
The only problem I'm having now is making a png file with transparency that works as a start menu icon in sense quicklinks. The icon has it's transparency in the windows start menu and when I click to add a quicklink in the program list. But once added to the homepage quicklinks, the transparency section is visible. I don't understand it. viewing it in the HTC's picture viewer also correctly handles the transparent part.
Anyone have any ideas? Here's three screens showing what I mean. The WM screen, the add-program-to-quicklinks screen and the Sense home screen (running CHT 1.7.1):
BTW, here's the icon image if anyone want to take a look.
Phantoms said:
I found the problem. The app is hard coded the start menu icon into it's code somewhere (like exe files on your pc sometimes do).
Anyway, I found where programs point to their start menu icons in
HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\ProgramName.lnk
This app didn't have a Icon entry like some of the others, so I added one and pointed it to a Icon.png file I had made for it and placed in the same directory the program was installed in.
Powered off the phone and then back on and it's using the new icon.
The only problem I'm having now is making a png file with transparency that works as a start menu icon in sense quicklinks. The icon has it's transparency in the windows start menu and when I click to add a quicklink in the program list. But once added to the homepage quicklinks, the transparency section is visible. I don't understand it. viewing it in the HTC's picture viewer also correctly handles the transparent part.
Anyone have any ideas? Here's three screens showing what I mean. The WM screen, the add-program-to-quicklinks screen and the Sense home screen (running CHT 1.7.1):
Click to expand...
Click to collapse
delete finch.png file: Application Data\HTC\ProgLauncher\finch.png
Change icon. Add Quicklink!! OK?
There's no finch.png in that directory. There is a program launch file "FinchSync_SP.bmg" in that directory.
The actual program and icon file are stored on my storage card at
\Storage Card\Program Files\FinchSyncSP
album.cache
finch.png
finchconfig.txt
FinchSync_Core.dll
FinchSync_SP.exe
InTheHand.Interop.dll
InTheHand.WindowsMobile.PocketOutlook.dll
syncinfo.txt
The default install of FinchSync has the program's icon hard coded, not a separate icon (png) file. If I delete the finch.png file, after a power cycle it goes back to using the default hard coded icon. Put the icon back and it does as I posted above, showing transparency everywhere except as a Quicklink. I've tried renaming the filename and then changing the reg entry outlined above to the new name and same thing.
FinchSynch is an older WM app, but I use it because I can sync my contacts and calendar with Mozilla Thunderbird, Calendar and Address book. I do not have or use Outlook to sync too, so I use FinchSync for this.
I found it. It's not a png file from that directory, but the bmg file.
So it was Application Data\HTC\ProgLauncher\finch.bmg
Once I deleted that, it picked up the new icon with transparency.
Phantoms said:
I found it. It's not a png file from that directory, but the bmg file.
So it was Application Data\HTC\ProgLauncher\finch.bmg
Once I deleted that, it picked up the new icon with transparency.
Click to expand...
Click to collapse
Ok!! del *.bmg!! Sorry!!
I thought I had posted the screen, but here it is with transparency. Thanks again.

Transparent Google Voice Inbox

I have the google voice with the inbox and settings widgets, not the best looking widgets. I'm would like to change the background of the inbox transparent. I tried the following, opened the googlevoice-0.4.1.19.apk with 7zip, and found all the background .png's in \googlevoice-0.4.1.19\res\drawable-hdpi. I copied the inbox background png to my computer, edited in GIMP to make the inbox background transparent, and copied back to apk file. when I try to install via application manager is will not install. What am I doing wrong, probably alot since I have no idea if what I'm doing is suppose to work or not.
corefile said:
I have the google voice with the inbox and settings widgets, not the best looking widgets. I'm would like to change the background of the inbox transparent. I tried the following, opened the googlevoice-0.4.1.19.apk with 7zip, and found all the background .png's in \googlevoice-0.4.1.19\res\drawable-hdpi. I copied the inbox background png to my computer, edited in GIMP to make the inbox background transparent, and copied back to apk file. when I try to install via application manager is will not install. What am I doing wrong, probably alot since I have no idea if what I'm doing is suppose to work or not.
Click to expand...
Click to collapse
Try to resign the apk.
If you are able to get this working, I would love to have it in my phone as well.
Good luck and thank you in advance!
Sent from my ADR6300 using XDA App
You're going to want to do a couple things. Pngout the pngs when you are done editing and resign the apk. Check out this link http://developer.android.com/guide/publishing/app-signing.html

Editing PNGs on PowerAMP

I want to replace the icons and edit the color of the widget text. I found the files and edited them for the text and photo-shopped the icons. Rezipped it and resigned it. I uninstalled the old poweramp (left the unlocker installed). Installed the new re-signed one using root-explorer but it says can't open modified apk install poweramp from market. Pretty annoying I just wan't to edit the icons for the widget is there another way replace icons for the widgets without editing the apk?

[Q] Add walls to Launcher2?

Hey guys,
I loathe swiping through my gallery (lousy with hundreds of pages of album/ebook cover art) to get to my Wallpaper album, then resizing the crop as best I can, and repeating the same process next month when I want to try another wall.
What I'd like to do is just add a bunch of wallpapers to the drawable-xlarge-nodpi folder in my Launcher2.apk so they'll show up in the stock wallpaper picker.
I've selected a bunch of 1920x1408 walls and made "blahblah_small" 180x180 versions (I'd like thumbnails to show up in the picker). I tried using Zipthemer to create a CWM-installable updated Launcher2 to include these changes, but just can't seem to figure it out.
I've also tried renaming to .zip, unzipping, adding the walls, rezipping, renaming to .apk and pushing that, but Android won't install the .apk. Do I need to delete the META-INF signatures folder and figure out some way to sign the .apk? Can I sign an apk w/o the SDK?
I know Roach has that extra wallpaper in Prime (nigh version of the Asus default wall), so basically, how did he do that?
Also, the default wallpapers are in drawable-large-nodpi, the Asus default (tree scene) is in drawable-xlarge-nodpi. The xlarge-nodpi folder has no META-INF stuff, so I figured if I threw the wallpapers in there, the picker would just show them.

[Q] Changing all icons to black&white

Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
oombongo said:
Hi there,
So recently I got Nexus 5 after 4 years of HTC Desire. Quite a huge leap performace wise I might add, and this phone is absolutely a sweetheart. The first thing I did was rooting the phone :laugh:
Anyways, I am thinking to change the color of all icons (including icons of applications) to black and white. I get it that I would need to extract the icons first, and then change the color using some icon or icon editing program or simply a photo editing program etc.
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Why don't you just use a Launcher that allow you to use custom icons? with Nova and Apex you can do it
oombongo said:
Now what I would need to know is that how can I repack the icons back to the application? or would I need to place it in some directory and fiddle with some xml file?
Cheers!
Click to expand...
Click to collapse
Icons are icons. The colour of icons does not need xml files. Its all controlled by images.
You can actually repack quit easily, but also takes a lot of effort. You need to look at the villain rom theme engine. It is a flashable zip that unpacks each apk and replaces whatever you have in the zip in the apk. Essentially you would have /system/app_name/res/icon.png (pretending that this is the location of the icon in the apk, each will be different I expect)... but you have to do this for every app.

Categories

Resources