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.
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.
* 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)
- Replaced standard Android logging Handler to avoid Android issue with only logging Level.INFO -> Level.SEVERE log records.
- Moved logging Handler initialization to AndroidHarness instead of in JmeSystem so logging in AndroidHarness and app startup could be logged.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- Android texture util ENABLE_COMPRESSION is now public to be able to change it. Accessing it through the appSettings would be better.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9436 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Misc formatting changes in AndroidConfigChooser
* AndroidLogHandler now takes parameters into account
* Added additional settings in AppSettings to configure mouse emulation
* JmeSystem will now automatically try to load JmeAndroidSystem if it fails to load JmeDesktopSystem
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9407 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- The harness is now a system listener and dispatch the system events to the jme app
- Every Harness related code is now in the harness (exit hook dialog, and mapping addition, spash screen hiding,....)
- Added a handleExitHook flag to configure if the Harness should handle exit or not.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- Pause audio when jME3 app is paused
- Add WAV to supported formats
- Add Android audio test
* Minor javadoc fixes in AndroidHarness
* Made jme3tools.android.Fixed class deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Enable checking of errors per frame (if checkErrors is disabled)
* Formatting and javadoc fixes in AndroidHarness
* AndroidHarness.reportError() rewritten to for clarity
* OGLESContext will report OpenGL2 failure directly to app through handleError instead of continuing execution
* OGLESContext will register uncaught exception handler only for current thread
* Formatting and javadoc fixes in OGLESContext
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Updated android.jar to 2.3
* Add support for changing fullscreen mode in AndroidHarness
* VBO now used by default for Android versions > 2.2
* Fix wrong setting array type uniforms in android (e.g. Vector3Array)
* Improved efficiency of setVertexAttrib in android by not creating iterator each time
* Added method ParticleEmitter.killParticle()
* Deleted useless com.jme3.renderer.layer package
* Fix documentation of AppSettings.setCustomRenderer()
* Fix SkyFactory on android (again!)
* Deleted useless com.jme3.video package
* Add KeyNames to get names of keyboard keys
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca