We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1351

Summary: Live Wallpaper support for Android [patch]
Product: SDL Reporter: Gabriel Jacobo <gabomdq>
Component: *don't know*Assignee: Gabriel Jacobo <gabomdq>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: All   
OS: Android (All)   
Attachments: Live wallpaper support for Android
Converts Android offset changes in live wallpapers to window move events

Description Gabriel Jacobo 2011-12-27 10:55:34 UTC
Created attachment 741 [details]
Live wallpaper support for Android

The attached zip contains an Android activity that adds support for creating Live Wallpapers using SDL.
Usage is simple, replace the SDLActivity file with this one, as well as the AndroidManifest.xml and add res/xml/wallpaper.xml in the proper location inside your Android project.
Full usage requires the patch I submitted in bug #1293 (pause/resume), as well as the patch attached here that transforms wallpaper offset changes into SDL_WINDOWEVENT_MOVED with a x range of 0 to 256, or you can clone from my experimental repo at https://bitbucket.org/gabomdq/sdl-1.3-experimental
Comment 1 Gabriel Jacobo 2011-12-27 10:59:09 UTC
Created attachment 742 [details]
Converts Android offset changes in live wallpapers to window move events
Comment 2 Sam Lantinga 2012-01-08 00:12:57 UTC
This is a neat patch.  I probably won't add it to the main SDL repo, but it's very cool.

I'm going to leave it in Bugzilla for people to see here.
Comment 3 Ryan C. Gordon 2015-02-18 03:36:38 UTC
(In reply to Sam Lantinga from comment #2)
> I'm going to leave it in Bugzilla for people to see here.

I'm marking this as WONTFIX though, so it doesn't show up in the list of unresolved bug reports.  :)

--ryan.