pelya
09388a7599
Moved to NDK r4 and SDK 2.2, updated readme, still catching the crash in audio output with Android 2.2 - added lot of debug spam
2010-06-25 18:52:45 +03:00
pelya
ee1dde5745
Oops
2010-06-17 19:12:00 +03:00
pelya
e032f7d592
Fixed an error in GLSurfaceView - now GLXGears work okay in both 1.6 and 2.1, however Alien Blaster still crashes
2010-06-17 19:09:15 +03:00
pelya
58926b8c02
Copied GLSurfaceView from Android 1.6 - now it works with 1.6 but fails with 2.1
2010-06-16 19:24:14 +03:00
pelya
647d3eefa9
Added two new config options to ChangeAppSettings.sh - disable depth buffer in OpenGL renderer and enable auto screen resizing
2010-06-10 18:49:59 +03:00
pelya
dd853f111c
Increase priority for audio thread to prevent warnings and errors about "CPU pegged"
2010-06-10 18:47:50 +03:00
pelya
3d66cd911a
Fixed audio not playing, it still works only for Android 2.1 - 1.6 fails for unknown reason
2010-06-10 14:19:17 +03:00
pelya
91333e8bd4
Fixed single-threaded audio implementation. Curent code works with Android 2.1 but fails with 1.6.
2010-06-09 15:52:14 +03:00
pelya
3aa634d175
Made audio single-threaded - ITCRASHES nOW, and doesn't work with Android 1.6
2010-06-08 20:09:35 +03:00
pelya
9f97bccd10
Support for initializing video/audio in static constructors before main()
2010-06-07 17:20:50 +03:00
pelya
16efa9e976
More debug to data downloader - it suddenly started to misbehave after I've increased buffer size
2010-05-20 18:37:42 +03:00
pelya
d08a2b4fb4
Data downloader shows progress in percent
2010-05-20 17:04:32 +03:00
pelya
d5ef1dd54e
Forgot to add libsdl_ttf to Java LoadLibrary() part
2010-05-20 16:52:30 +03:00
pelya
b973f29b35
Splitted Java sources to many small files, fixed tabulation, splitted input source file from video in libSDL.
2010-05-18 11:14:30 +03:00
pelya
a2b164f268
Yay, it's working! Now I'll test OpenGL
2010-05-17 18:45:27 +03:00
pelya
4059cb46f1
THIS REVISION WILL NOT RUN! Added an own implementation of GLSurfaceView to launch native main() code from it.
2010-05-17 18:39:02 +03:00
pelya
78f1ef2073
Oops, forgot to change Java part
2010-05-13 17:25:22 +03:00
pelya
94df8e2921
Fixed Alien Blaster not working on simulation - I've added lot of debug spam, it should be removed.
...
The problem is in the least obvious place - the std::ostringstream output deadlocks for no reason -
see file project/jni/application/src/asstring.h.
The only reason I can think of is that previously I've has one big statically linked library,
and now libstlport and libapplication areseparate shared libraries. But why then all std::vectors etc work?
2010-05-12 19:49:48 +03:00
pelya
500d845cc6
Moved NativeInit() to separate sdl_main shared library so libapplication.so won't contain any java-specific code,
...
added SDL_image, libpng and libjpeg.
2010-05-11 12:50:50 +03:00
pelya
2f484609dd
Fixed ChangeAppsettings script
2010-05-07 13:25:25 +03:00
pelya
24dce42157
Converted all libs from shared to static - it will allow closed-source apps to use LGPL-ed libsdl,
...
and will solve some cross-referencing problems, like SDL_init called from static constructors.
2010-05-06 18:46:42 +03:00
pelya
9ed0bc6f9b
Made SDL window fullscreen, without nasty topbar
2010-05-06 14:59:24 +03:00
pelya
0eb8918905
Added 640x480 virtual screen support scrolled via accelerometer
2010-02-18 19:02:17 +02:00
pelya
9c22af0d63
User can abort app while it's downloading data
2009-12-11 13:46:45 +02:00
pelya
865e4f619b
Small fix for crashing, made audio to use Java byte array instead of copying bytes,
...
and made it to use array size returned from Java - seems to add latency to the audio
2009-12-10 16:34:51 +02:00
pelya
01cefc754c
Added downloading app data from net on first run
2009-12-09 15:47:17 +02:00
pelya
a33a375ca5
Removed lot of debug output
2009-12-09 11:09:48 +02:00
pelya
6da2f0d84e
Audio working, yay!
2009-12-08 19:30:20 +02:00
pelya
96ca2135a4
Oops, fixed linker error
2009-12-08 17:14:17 +02:00
pelya
ea94d7792d
Tweaked Android manifest to not turn off screen, and to ignore changing screen orientation
2009-12-08 16:05:18 +02:00
pelya
ec3ac50bdb
Added audio support in SDL. Warning: NOT TESTED, even on emulator!
2009-12-08 15:15:38 +02:00
pelya
a73d367531
Added Alien Blaster project with SDL for Android
2009-12-01 11:29:28 +02:00