I understand pretty well how to create a resource image to draw onto the screen, but lets say I wanted to create a live wallpaper application that required a sequence of images (PNGs of course)...
Can someone tell me if this is going to be mega CPU intensive at all?
Related
I've recently been playing around with my today backgrounds, however, they are never as clear as the original picture.
I used someones .cab theme with a new background and the image was very clear, but when I just change the standard themes background to a different image, it loses it's clarity.
Whats up with this and is there a way to fix it?
Also, how do I get .exe programs to load on my unit. The only files I can get to install are cab files.
Thanks
Is the image the correct resolution?
If not, it will stretch or shrink it, and that's a quick and dirty operation on the today screen rather than being done with something like photoshop where it would calculate the pixel mapping of the resized image to give better quality.
actually..
I believe what he is talking about occurs only when selecting an individual image as the background wallpaper and it appears with what looks like a somewhat transparent "white haze". I have not figured out what causes this, and the only way to "fix" it would be to use a theme generator with the image you want as the background. If done this way, the image looks fine. This has nothing to do with aspect ratio distortion.
Hi there, im thinking about the issue that you cant use a background for all tabs in TF3D, so i am trying to find a solution for that.
We need to find out where in TF3D the XML definition of background tiling is, so we could deactivate that, and replace the manila background tile with a normal wallpaper.
What do you think?
Rotkaeqpchen said:
Hi there, im thinking about the issue that you cant use a background for all tabs in TF3D, so i am trying to find a solution for that.
We need to find out where in TF3D the XML definition of background tiling is, so we could deactivate that, and replace the manila background tile with a normal wallpaper.
What do you think?
Click to expand...
Click to collapse
That would be great, one of the most annoying things of TF3D is the background only works on the Today screen. I guess another option would be to find the graphic file within the manilla files that contains the default one. I have seen a couple themes where they have changed that default image, I think it was the Orange one.
added to thread subscriptions, maybe we can do this and it will be so much better!
Thanks, look at the Vodafone theme for example, there is a blank white background. Can we customize the original files like this just with a wallpaper?
I found out that there is a 2bd5bb26_manila (Background image only on O2 theme) in the o2 theme.
When we could use this manila file for other themes too, we would have solved the theme problem!
there's one thing i don't really understand here.
in the o2 default blue theme, the gradient background (for all the tabs) is saved as an image of the width of 1 pixel. i tried to substitute it with another, wider image, but it didn't work.
in the htc black theme, on the other hand, there's no direct image for the background, instead, only the tiles are coded somewhere as image files.
how does it work then, i mean how does manila know how the background is encoded, whether it's a 1px-wide image that needs to be stretched or a tile that fits onto the background "floor" or whatever else on other themes?
if we could find the place where it's encoded what (and how) manila uses for the background, then i guess we could play with it a little more
This is what i have found about the background question in TF3D...
http://forum.xda-developers.com/showpost.php?p=2558844&postcount=180
I haven't had any more time on it .. but I think we have to wait until we can change the mania/GLES files...
I hope this can be done
http://rapidshare.com/files/189717709/TF3D_HD_Template.zip
Here you'll find a Photoshop file with basically all screen elements of the TF3D HD manila interface present.
Unless I've missed something all icons/button/etc are present except for the weather section. I've only included the main icons there so you can put your flag on the moon..
If somebody feels like mapping out every raindrop like in this psd file, please let me know so I can update the file
The bmp files of the photo and video sub menu's are present as well.
These will go in the windows directory.
I plan to add the blackstone dialer .. but am not sure it's that much needed.
The main idea was to map out the Manila files.
I've build it from itjes Full HD cab for the X1. As far as I know it should work for all other touch HD manila setups..
import/export
I've used the mode9editor to extract all png's.
http://forum.xda-developers.com/showpost.php?p=3095189&postcount=1
The mode9editor has a batch import/export function.
When you use the layer names in the PSD file you're able to batch import all icons you'll change.
Transparency
Most icons will have either a red pixel line border or at least 2 red pixels at the corners.
This way you can select the alpha channel of the layer, crop your image and have to correct dimensions for the png/qtc file.
All you then need to do is remove the red pixel before saving.
For 99.9% of the images you can do it by a color select unless your new theme will be red
Buttons
All buttons that have a press and rest stage have been linked to each other and put on top of each other. In the corresponding layer you'll notice this soon enough
Tiny pixel files
There are a few images that are 1x1 or 2x2 pixels. These are present and I've tried to make all layers in logic order to be easy to find.
Some pixels are 100% transparent and therefor red which was easier to find
Batch PSD export
There is need to find or create a photoshop action that will:
- select layer
- crop by alpha selection
- remove red pixel
- export by layer name
- repeat this process for all layers
If there's anyone out there that can help me make such an action please do. As I have limited experience in advanced photoshop actions
All suggestions and help (especially with the photoshop actions) are welcome!
With a little help this can be an easy automated template for our own redesigning fetish
Discontinued
check here if you want to stay up to date on this and other things
http://forum.xda-developers.com/showthread.php?t=477268
Would like it for someone to try the mp3 player on the touch HD.
Please check the upper thread for the zip file and let me know if it works there.
thanks allot!
Hi All-
So, while I'm relatively experienced in computer programming, I'm just starting out learning the android SDK and one of my first tasks was to replace some files in an APK file, namely the Dazzle widget apk.
I wanted to make the background of the widget slightly transparent instead of fully black. I opened the APK, pulled the background file out of the HDPI drawable folder, opened it in GIMP, reduced the opacity, and saved it as a png. I put that PNG back into the Dazzle APK, resigned it using a tool I found here on XDA, and used ADB to install it.
However, when I try to add the widget, the background is now too small (however, it is transparent, so clearly it is reading the correct file)! It only takes up about 75% of the size of the widget, and doesn't cover the white buttons that are supposed to be imposed on it. I have not edited the dimensions of the image, so I don't know what's going on.
Is there something I'm overlooking? Please help!
Thanks!
danktamagachi said:
Hi All-
So, while I'm relatively experienced in computer programming, I'm just starting out learning the android SDK and one of my first tasks was to replace some files in an APK file, namely the Dazzle widget apk.
I wanted to make the background of the widget slightly transparent instead of fully black. I opened the APK, pulled the background file out of the HDPI drawable folder, opened it in GIMP, reduced the opacity, and saved it as a png. I put that PNG back into the Dazzle APK, resigned it using a tool I found here on XDA, and used ADB to install it.
However, when I try to add the widget, the background is now too small (however, it is transparent, so clearly it is reading the correct file)! It only takes up about 75% of the size of the widget, and doesn't cover the white buttons that are supposed to be imposed on it. I have not edited the dimensions of the image, so I don't know what's going on.
Is there something I'm overlooking? Please help!
Thanks!
Click to expand...
Click to collapse
Maybe a dumb question but was it a .9.png by chance?
It is a .9.png! I didn't realize files with that extension had any special meeting. I assume that I'll have to use the special tool that come with the developer kit in order to properly edit these.
Anyone have a link to a guide/directions I can follow?
Hi !
I would like to extract the image of a live wallpaper, but I can't seem to find it.
Used apk tool to decompile the apk, and when I look for the image there's only a 256x256 thumbnail of the wallpaper in the res/drawable folder... How come ?
Another solution would be to modify the apk to make the wallpaper still instead of animated, but I don't know where to start. Is there a file I could modify to do that ?
Thanks a million for your help !
Cheers
It sounds like the wallpaper is generated entirely with an algorithm. Live wallpapers are actually special apps that run behind the icons.
A simple solution is to just take a screenshot of the wallpaper. You can select it in the Live Wallpaper picker and take a screenshot of it. Then, you can crop out the bottom area that has the Settings and Set Wallpaper buttons.
What wallpaper are you trying to take a still image of?
That's what I thought... Damn.
I tried to use a screenshot but it's not the same since it's smaller and can't cover the sliding effect. Better than nothing though.
I'm trying to get a still image of the "Holo Grid" wallpaper.
Thanks anyway