[Q] Widget Locker Question - Android Q&A, Help & Troubleshooting

Hello everyone, I'm trying to finish up a theme in widgetlocker but I'm running into an issue. I want to change the image for an ICS style slider. The image I found online is 256x256. I tried resizing it with Gimp to 162, 132, and even 102 but everytime I zip the folder and put it on my phone, it shows up as the huge 256x256 size. In the file properties for the resized image it shows as whatever I have resized to. Why will it not shrink in my theme? Any ideas?

Related

HELP Editing and creating NEW flipfont APKs

I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
renegadedj said:
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
Click to expand...
Click to collapse
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
ritalin said:
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Click to expand...
Click to collapse
well you may be on to something, because TypeFresh does not allow me to see ANY OpenType Fonts (.otf) and only TrueType. :-D
Ok so I was curious and did a little test. I took the bauhaus font from the apk and opened it up in FontCreator 5. I then took on of the fonts that had previously given me an issue and opened it up as well. Then I copied all of the fonts for each key from the problematic one and replaced the fonts in bauhaus with them. I saved the file with a new name and then went through all of the steps to create the APK file.
After the file was installed, I selected it and then rebooted. HAZA, it works. Well it kinda works. The font size is way too big, and its still running slow. I have a feeling that the proformance hit is caused by the size of the font.
I am going to resize all of the letters, numbers and symbols in FontCreater and try again. Will post back with results.
Few steps forward, few steps back.
First off I will say that the font is a little hard to read and too light, but this is just for testing so its not that big a deal right now.
Ok so I got hold of a font that about the same size as the Bauhaus font. After doing everything in the above posts and installing the font, the restart was a LITTLE bit faster. It still seems to choke for about a minute or so after the desktop first appears and the pass based lock screen is sometimes unresponsive on first try. Overall its running much better, but still not perfect.
Also some words see to get clipped off for no reason as you can see in the image attached on the text for the Astro bluetooth icon. Not sure why this is happening.

[Q] Just a couple font querstions

okay, first of all, is it possible to just add a font for minimalistic text? and if so, where would i put it? and.. i am working on getting my little theme together, and went though the Ubuntu font flash file, and nothing is labeled it? do you have to change the name to one of the defaults in there? thank youuu.
the only thing that i know that you can put the fonts in a folder named "font" in the rom.

LP Sense UI Mods

I have extracted all of the files and found the images for the icons that come with the launcher and I'm wondering how I can replace them with ones I have edited in photoshop...
I have modified them and tried placing them on my sd card then selecting them from "custom icon" but they wont show up full size like the stock icons do when I select one from "LauncherPro Icons".
Any help would be appreciated!
I don't know how to make a perfect Sense dock button replacement. Not even searching around on launcherpro.com/forum or lpsense.allo-mobile.fr/ made anything very clear.
In the meantime, for a custom icon, I've tried using a 640x480 transparent canvas with an ~350x350 icon in the bottom right hand corner of that canvas, exporting to png.
This seems to at least get the desired icon somewhat properly sized and centered in its dock area. Definitely not perfect though.
Editing your icons
Download Apk Manager 5.0 from xda developers website or search at google (apk manager 5.0 zip and you will find mediafire link), and try to edit the apk with it, first extract then edit the images then zip it then sign it, now uninstall previous apk and install new one(it was unable to overwrite the apk but installed after uninstalled the original).
All images are changed will create a new style sense ui using apk manager.

[Q] Help Modding Idlescreen_Base.apk?

Hi everyone,
Today, I just found out about M10tools, which is required to change the m10 files within Rosie.apk and others such as Idlescreen_Base.apk. (for Sense 3.0)
I just wanted to change the image that is displayed when you receive an SMS - so instead of the Giant MMS symbol, I used another image.
So I decompiled the Idlescreen_Bake.apk, decoded the images, found the MMS image in textures, edited/replaced the image with one of my own.
(note, the original image is 250x250, and the image I uploaded is 250x270)
Then saved in another location.
When I check to see if it's replaced correctly, I opened up the new Idlescreen_Base.apk, and when I get to the png image, the image is messed up - kinda like when your analog TV would be messed up on certain channels and the image is repeatedly cut.
I was wondering if it had anything to do with my not editing the original image itself. I tried scaling my image down to 250x250, which didn't work either.
Any help would be greatly appreciated
Short Answer: its because you didn't edit the original image file
Long Answer: I have never edited mms icons but I have made my own lock rings by editing that same file. Open the apk in m10 tools then find the texture you want to edit and right click the image of it on the right side then choose show in explorer. Right click the highlighted file and open with your image editor. I use Photoshop. Then put your new image on top of the old one and delete the original. Now for lock rings you have to rotate your image 180° and mirror it across the y-axis. I don't know if you have to do this with mms notifications. Then do file save and select PNG as the format and do not change the name of the file. Then back in m10 tools go to save apk. Then push it to /system/app

[Q] Custom Weather Icons

Can someone explain to me very clearly how I can use my own custom weather icons in Zooper Widget.
I have the .zip file already and tried to put it in the Zooper files on my phone but it never showed up when selecting the bitmap option.
Thanks in advance.
Bump

Categories

Resources