iwgeric
6c24390663
Android: Fix issue handling key events that are tied to both keyboard and gamepad
10 years ago
iwgeric
61ba11d872
Rework of Android input system to support future expansion and gamepad support.
...
Gamepad support is still a work in progress, but functions.
10 years ago
iwgeric
22d3f7f9f4
Android: Refactor joystick support to prepare for upcoming gamepad support.
10 years ago
iwgeric
47e9b9ba16
Android: Remove unused property to track if joysticks are enabled.
10 years ago
iwgeric
4102e91456
Android: remove unused properties in AndroidHarnessFragment
10 years ago
iwgeric
5ab8fb8f6a
Android: remove reference to screenOrientation from unused test project
10 years ago
iwgeric
1569e9583a
Android: remove deprecated screenOrientation from AndroidHarness.
...
Screen orientation is set in manifest instead of in MainActivity.
10 years ago
shadowislord
068047200e
Threads: standardize names. Make sure they all start with "jME3".
10 years ago
shadowislord
2bc5545171
OGLESShaderRenderer: remove clearTextureUnits since it doesnt do anything
10 years ago
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
10 years ago
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
10 years ago
shadowislord
bbbcd8eba5
Android Images: deprecate classes that won't be used in 3.1
10 years ago
shadowislord
9651d6d822
GL interface: add support for PBO, FB readback, and fences (ARB sync)
10 years ago
iwgeric
4baceb6a08
fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit
10 years ago
shadowislord
253c3ac80d
JmeSystem: print build info on initialization
10 years ago
shadowislord
d3cbf7fbf2
GL implementations: Fix uploading of buffers with position != 0
...
* this is required for pregenerated mipmaps in e.g. DDS files
* others checks are added to make sure a zero-length buffer cannot be uploaded (that's an error for now)
10 years ago
shadowislord
4bfd992751
* Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform()
10 years ago
shadowislord
3f63d43461
* Add license to android renderer files
10 years ago
shadowislord
af65215450
* Delete useless Android22Workaround
10 years ago
iwgeric
b71d94c37c
Fix NPE while destroying the Fragment when a splash screen is used.
10 years ago
iwgeric
6d8ef39976
Add support for setting a maximum resolution on the GLSurfaceView while maintaining the aspect ratio (AndroidHarnessFragment only).
10 years ago
iwgeric
6ec86fe919
Initial commit for support of launching a jME application as an Android Fragment
10 years ago
iwgeric
0777a18a84
Deprecate screenOrientation from AndroidHarness.
...
Users should set the AndroidManifest.xml property for screen orientation instead. Removes app start, end, restart if the MainActivity.screenOrientation doesn't match the current device orientation. Setting the value in AndroidManifest.xml sets the device orientation before the app starts.
10 years ago
shadowislord
aaac8cb613
URA is now used by default on Android
10 years ago
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
10 years ago
iwgeric
31bc6bf526
Add a default app profiler for Android.
...
Users can add this app profiler in the MainActivity to show the application timings within the Android systrace utility.
10 years ago
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.
10 years ago
iwgeric
47477daa05
Forgot to update the commit text
10 years ago
iwgeric
5948479de4
comment out android show keyboard. Now using JmeSystem method to show/hide android soft keyboard.
10 years ago
Nehon
b1739fd9d7
Also fixed Android's VideoRecorderAppState
10 years ago
Nehon
9f459af4e3
One can now call readFrameBuffer with a specific format, implementation has been done for the GLRenderer only.
...
For now only placeholders have been done for the renderers that are still not using URA (all except LWJGL).
10 years ago
iwgeric
a55aae21f9
Minor cleanup of mouse / keyboard methods for touch.
...
Depreciated InputManager.getSimluateMouse and replaced with InputManager.isSimulateMouse for consistancy.
Removed depreciated TouchInput.getSimulateMouse().
Added InputManager.isSimulateKeyboard() to keep consistancy with mouse methods.
10 years ago
iwgeric
a116389814
Forgot to add isSimulateKeyboard to TouchInput interface.
10 years ago
iwgeric
1ed1463476
Add support for enabling/disabling KeyEvent simulation for soft keyboards on Android similar to MouseEvents.
10 years ago
iwgeric
249f62fe95
remove showVirtualKeyboard from TouchInput
10 years ago
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.
10 years ago
iwgeric
d42a777909
Add showSoftKeyboard(boolean show) to JmeSystem.
...
Includes empty implementations for now. Android to be implemented in next commit.
10 years ago
iwgeric
8560b98aa0
Add android.jar to root project and use during jme-android project build.
...
Current version is rev19, KitKat.
10 years ago
iwgeric
6f4b90feed
Temporary fix for searching for version strings until URA is done.
10 years ago
shadowislord
8426bb7baf
Officially switch to the new Android audio system (PART 2..)
10 years ago
shadowislord
be1f219f29
The old Android MediaPlayer based audio renderer is now deprecated
10 years ago
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.
10 years ago
shadowislord
62a235fbf7
Add streaming + looping support for Android vorbis audio
10 years ago
shadowislord
4241ce9ead
Fix ESSL version parsing (incorrect prefix)
10 years ago
shadowislord
de0027eee3
Fix OGL version parsing
10 years ago
shadowislord
6bdebb937a
Assume OpenGL ES 2.0 is supported on ICS and higher devices
...
Fixes running jME3 in Android Emulator
10 years ago
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)
10 years ago
shadowislord
ba91da8db4
Tremor decoder now working on Android
...
* fixed issue where FileDesc_read() would cause a stack overflow
* fixed incorrect NativeVorbisFile field values
* properly indicate that streaming is not supported yet
10 years ago
shadowislord
891ffa175d
More work on vorbis decoder
...
* added support for decoding from a section of a file descriptor (needed if decoding from an asset inside APK)
* implemented seek function
10 years ago
shadowislord
d8c5985a73
Disable SDK build by default (maybe Travis can handle it then)
...
Fix compile error in jme3-android project
10 years ago