Commit Graph

49 Commits

Author SHA1 Message Date
pelya
efc1c424d8 Fixes to accelerometer and audio not working, another dialog to select keypad type for user 2010-07-29 18:26:29 +03:00
pelya
90b098c2c3 Added some support for multitouch events, it's still not working 2010-07-29 16:12:58 +03:00
pelya
0950723da0 More settings for application in ChangeAppSettings.sh 2010-07-29 14:49:16 +03:00
pelya
eda66c6d45 THIS REVISION WILL NOT WORK! Compiled and linked SDL_renderer_gles.c into SDL 1.2 lib, no code was added to actually use it. ifdef overkill, yay! 2010-07-26 18:24:57 +03:00
pelya
b95831357b Fixed crashing when downloading data to SD card, fixed crashing when running SDL 1.2 app on Android 1.6 device 2010-07-26 13:12:00 +03:00
pelya
7580d9ff0f Added simple app settings dialog - it will ask you where to download app data (SD Card or phone storage), later I'll maybe add other options 2010-07-23 15:11:41 +03:00
pelya
88099439de Added option to specify backup URL for data download 2010-07-20 19:03:01 +03:00
pelya
e7112534b4 Fixed app crashing during data download 2010-07-19 18:45:05 +03:00
pelya
19bc92954f Fixed FPS drop when touching screen 2010-07-14 16:19:31 +03:00
pelya
cad2c8ff2a Final fix to accelerometer input 2010-07-09 18:50:43 +03:00
pelya
fa534f2570 More fixes to accelerometer 2010-07-09 18:19:22 +03:00
pelya
048735ac4a Fixed accelerometer input 2010-07-09 17:43:46 +03:00
pelya
5b3e30e4b7 Disabled libs unnecessary for Alien Blaster 2010-07-08 18:42:04 +03:00
pelya
650aca4a3d Added multi-ABI support to ChangeAppSettings.sh, fixed libMAD compilation 2010-07-08 17:47:54 +03:00
pelya
87265514cb Added configurable readme section to ChangeAppsettings.sh that will be shown when data is downloading 2010-07-07 18:36:57 +03:00
pelya
616cc0b5fd Data downloader will check if the saved URL in libsdl-DownloadFinished.flag is not the same as compiled-in,
and re-download the data, tu support application self-updating.
2010-07-06 13:55:29 +03:00
pelya
2b2248f27f TOTALLY STUPID BUG how could I lose 3 days debugging it. SDL is working perfeclty, that was the application crashing which could not load music file. 2010-07-01 18:48:00 +03:00
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