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 - Live Wallpaper support for Android [patch]
Summary: Live Wallpaper support for Android [patch]
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All Android (All)
: P2 enhancement
Assignee: Gabriel Jacobo
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-27 10:55 UTC by Gabriel Jacobo
Modified: 2015-02-18 03:36 UTC (History)
1 user (show)

See Also:


Attachments
Live wallpaper support for Android (7.00 KB, application/zip)
2011-12-27 10:55 UTC, Gabriel Jacobo
Details
Converts Android offset changes in live wallpapers to window move events (903 bytes, patch)
2011-12-27 10:59 UTC, Gabriel Jacobo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.