19 Commits

Author SHA1 Message Date
iwgeric
22d3f7f9f4 Android: Refactor joystick support to prepare for upcoming gamepad support. 2015-04-07 18:35:48 -04:00
shadowislord
40926dc32d AssetConfig: Platform asset config now returned as URL
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg
2015-03-01 15:11:57 -05:00
shadowislord
25b1780e09 AssetManager: remove useless subclasses
* All platforms now use asset configuration files. Subclasses of DesktopAssetManager no longer required.
 * Added general asset config file which is included by all
 * JmeSystemDelegate now always returns DesktopAssetManager
 * JmeSystem is now responsible for providing the platform-specific asset config path
 * Deprecate JmeSystem.createImageRaster(), it is simpler to create a DefaultImageRaster
2015-02-28 18:32:38 -05:00
shadowislord
253c3ac80d JmeSystem: print build info on initialization 2015-02-09 21:07:59 -05:00
shadowislord
4bfd992751 * Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform() 2015-01-31 12:47:07 -05:00
shadowislord
aaac8cb613 URA is now used by default on Android 2015-01-19 18:18:45 -05:00
iwgeric
3a82c9eca1 Add frame rate limitiing on Android.
If frameRate is set in MainActivity, the application will limit the frame rate to the value defined.  This can be used to save battery life.
2015-01-06 08:46:19 -05:00
iwgeric
47477daa05 Forgot to update the commit text 2015-01-06 08:38:39 -05:00
iwgeric
5948479de4 comment out android show keyboard. Now using JmeSystem method to show/hide android soft keyboard. 2015-01-06 08:34:49 -05:00
iwgeric
858fd433ca Implement showSoftKeyboard for Android.
Also changed JmeAndroidSystem to store the view instead of the activity.
When users call JmeSystem.showSoftKeyboard(true), the default Android soft keyboard is displayed and any key presses are sent to jME as touch events.  Key events are also generated so the user can use the same key listeners as Desktop to keep the user code common between Desktop and Android platforms.
2014-12-12 08:42:13 -05:00
iwgeric
d42a777909 Add showSoftKeyboard(boolean show) to JmeSystem.
Includes empty implementations for now.  Android to be implemented in next commit.
2014-12-12 08:15:53 -05:00
shadowislord
8426bb7baf Officially switch to the new Android audio system (PART 2..) 2014-11-20 20:36:36 -05:00
shadowislord
6cad69e067 Officially switch to the new Android audio system
Now uses OpenAL Soft 1.16 by default with the Tremor-based OGG/Vorbis decoder.
All jME3 audio features now work on Android.
2014-11-20 20:27:43 -05:00
shadowislord
6bdebb937a Assume OpenGL ES 2.0 is supported on ICS and higher devices
Fixes running jME3 in Android Emulator
2014-11-18 22:05:14 -05:00
shadowislord
91715c4a48 Add support for URA, or Unified Renderer Architecture for audio
* Unified all renderers into common class 'ALAudioRenderer'
 * LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
 * Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
2014-11-15 15:15:50 -05:00
shadowislord
14bfc7e166 Minor cleanups (no functionality change) 2014-11-09 17:34:36 -05:00
shadowislord
e6df8b1e49 Remove deprecated ConfigType 2014-11-09 17:33:06 -05:00
shadowislord
18b9ef5540 Refactor Android system
* Minor clean in context creation
 * Remove AndroidGLSurfaceView (it wasn't doing anything)
 * Delete AndroidTimer. Now android will be using NanoTimer
2014-11-04 22:28:23 -05:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00