Owen Alanzo Hogarth
2015-08-26 19:06:45 UTC
I am trying to edit the SDLActivity to run inside of a wallpaperservice and
What i've done so far was remove the code about key input since that won't
be needed while running as a livewallpaper.
I moved all the code from the SDLActivity to the SDLWallpaperService
I kept the SDLSurface class in tact, so most of the editing was done to the
main class to remove some functions that aren't necessary.
I am running into some issues though. When I try to call SDLMain to launch
my SDL application, the code gets stuck in a loop where it keeps calling
nativequit and I am unsure why.
This is the entire code that I've edited: http://pastebin.com/hpGnhRWR
There's the Log output at the bottom.
If anyone has a good amount of experience with android they could help me
sort this out.
I have read the sdl livewallpaper code from around 2011 but it seems a lot
has changed with sdl between then and now. I have also created similar live
wallpapers where I did something similar just w/o these threads.
Anyone with SDL2 android experience can offer some tips?