Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use a HTML page as Live Wallpaper in Android

Can I use a HTML page as a Live Wallpaper?
Or is it possible to capture a web page as an image and set it as a wallpaper?

Any help would be greatly appreciated.

like image 700
Adnan Avatar asked Mar 05 '11 12:03

Adnan


People also ask

Can you have a live background on Android?

To set a live wallpaper, tap on the 'Set as launcher wallpaper' button, check the preview, and tap on 'Set wallpaper. ' The app lets you set videos as live wallpapers on just the homescreen or the homescreen and lockscreen both.

What is the file format of live wallpaper?

If you want to be able to use a video as a live wallpaper on Android devices, you have to make sure that the video is an . mp4 format.

Can you use animated wallpapers on Android?

Many Android manufacturers these days have their own moving wallpapers on Android, allowing you to set an animated background to your homescreen. Samsung and Huawei, for example, let you do that to some extent, though it should be noted that you have to interact with the screens in some way to enable the motion.


2 Answers

I am the author of the mentioned WebLiveWallpaper. It can use both techniques: Showing a web snapshot from snapr, webthumb, ... but normally it is really a WebView which has disadvantages but also some advantages. A web snapshot/thumb image cannot update animated images fast enough. But it avoids the problems a 'hacked' WebView in a live wallpaper has (like missing images, huge memory footprint).

I think what you want is using one of these: http://www.websnapr.com/ http://webthumb.bluga.net/home http://snapr.seekxl.de

They all have more and better documentation on their sites than I can put in here. Mostly it is simply a picture from their url with your key and some settings.

like image 133
Michael Haar Avatar answered Sep 19 '22 06:09

Michael Haar


There is an app on the market called WebLiveWallpaper that does this. There is an option in it for how often to refresh the view of the web page, which leads me to believe that it is simply taking a snapsnot of the page and presenting it as an image some how. Unfortunately I wouldn't know how to go about setting that up. But I think you're definitely going to want to go the image route.

Edit Here are some links that may help you out:

Open source Java library to produce webpage thumbnails server-side

http://www.acasystems.com/en/web-thumb-activex/

http://www.fileguru.com/apps/convert_html_to_image_in_java

I have not used any of these components before so I'm not positive about them but they seem like they can do what your looking for .

like image 44
FoamyGuy Avatar answered Sep 20 '22 06:09

FoamyGuy