ImageView Live Wallpaper - Android Software Development

I am having HUGE problems. I have the basic skeleton of a live wallpaper (even shows up in the list), but I can't figure out how to add my ImageViews in a way that it will recognize them and let me manipulate them. I have read that I can use drawBitmap(), but I don't know how to implement it. Does anyone know how to use ImageViews in making a Live Wallpaper.

Related

[REQ/HELP] Icon Library!

Hello. I really want to make my apps their own icons, but the only way to do that is to edit their coding. I'm no coder.
So, I come to XDA asking a simple question.
Are there any apps that allow me to import icons, or take existing ones, and swap them around to different apps? Or that let me assign an icon to an app?
This would make my phone look complete.
Please help!
If not, would anyone be interested in making one possible?
Many would donate, including me, and I could help with the graphics.
You can use reshacker to change any icons you want. Search for it.
will do thanks
I downloaded Reshacker, but appearently it doesnt work with icon exchanging, even though its an option. You get errors every time you use your own icon.
Anyone else have another option? I made some icons. Here's an example of a Ginvaders icon.
New:
Stars hand drawn
Planet Ring hand drawn,
space ship and bullets hand drawn
I wanted to put this as the Ginvaders icon, but as you can see, I cant get res to work.
Please, anyone have another solution? Thanks.

Modifying Live Wallpaper

So I really like the NexusMod (CyanogenMod) live wallpaper, however I'm wondering how easy is it to change the background image on the live wallpaper? Is there a tutorial or anything on what's involved in doing this? Thanks in advance.
there is a modify version of this one available with new wallpaper try to search next time :
google 2sec >
http://forum.cyanogenmod.com/index.php?/topic/1974-mm-live-wallpaper-background-changer-cm-5056/
I haven't rooted yet, but looking at those instructions and the files, you're limited to the backgrounds included? I want to use my own.

[Q] Live Wallpaper Backgroud

I am pretty new into android development and have a couple questions I'm sure you guys can answer pretty quickly but have so far not been able to figure out. How do I have a set background in a live wallpaper besides just creating something from canvas, I have it already loaded in the hdpi I just need to figure out how to call it. Also, is it possible to have something appear enlarge a little bit in the center of the screen then fall off the screen? I'm trying to create a time lapse of a tree where it goes through all the weather changes. Any sites you could link me too or answers you would have would be greatly appreciated. Thanks for anything you guys are able to do.
Can you be more specific? When you say background are you talking about an image file you've added as a drawable?
If you use the drawBitmap method you can draw images anywhere on a canvas.
This is roughly how I do it on my Live Wallpapers.
Code:
Bitmap background = BitmapFactory.decodeResource(getResources(), R.drawable.background);
c.drawBitmap(background, 0, 0, null);
That will draw the bitmap at the upper left most position on your canvas.
If you want your live wallpaper to slide left and right as you swipe between home screens you need to adjust the x position based on the offset. Look at the cube live wallpaper source code for more information on how to get the offset value.
What I have is a picture loaded in the hdpi file that I want to use as my background, the thing with the cube is it shows you how to draw a picture but not add one into it. I want to load in the photo and then have objects enlarge and drop down around the center of this picture. The design I'm going for is a time lapse of a tree. I was told surfaceView can set your background but I'm not sure if that's the case or not. Thanks for the reply though I appreciate it.
bearcatext said:
the thing with the cube is it shows you how to draw a picture but not add one into it.
Click to expand...
Click to collapse
It works exactly the same but instead of using c.drawLine() you use c.drawBitmap()
That makes a lot of sense thanks, and for the leaves falling would you just set the coordinates to somewhere in the middle then? Also, is there a way to have an image change color mid-screen so it looks like fall is hitting? Thanks for all your help again though.

[Q] How to modify a live wallpaper ?

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

How to use a listview as a live wallpaper?

I wanna make an android app. It's a live wallpaper app and I want to set a custom listview as the live wallpaper and the list will keep updating. But I am stuck on how to set a list as a live wallpaper. Anyone please help.

Categories

Resources