shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
iwg..ic
9e8abfb6ec
Android: Remove Escape key mapping from InputManager (defined in SimpleApplication) when using Android platforms.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10898 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
592303181e
Android: Rewrite of EGL config chooser. ConfigType is also now deprecated so that egl* protected parameters in AndroidHarness can be used. These new parameters are copied into AppSettings and then used in AndroidConfigChooser to define the minimum requirements for selecting an appropriate egl config. If a different config is choosen, the AppSettings are updated so users can detect the currently used values.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10810 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
1ac240e971
Android: fix missing period in javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10636 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
e727928731
Android: Refactor AndroidAudioRenderer into an interface with 2 implementations (current MediaPlayer/SoundPool and new OpenAL Soft). Added AppSetting that allows AndroidHarness to switch the audio renderer (default is still MediaPlayer/SoundPool).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
58684996f9
Android: Added methods for OpenAL Soft Audio Renderer to pause and resume audio when app is placed in the background
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
0ff86728d8
Android: Moved some code from onPause/onResume to loseFocus/gainFocus to address issues/patches 593, 566, 564. Users can now override loseFocus/gainFocus in MainActivity if they do not want to pause/resume the app based on Android's lifecycle methods onPause/onResume.
...
https://code.google.com/p/jmonkeyengine/issues/detail?id=593
https://code.google.com/p/jmonkeyengine/issues/detail?id=564
https://code.google.com/p/jmonkeyengine/issues/detail?id=566
(Yes, there were 3 patch requests for the same thing)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10607 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
8c1e5c9cf9
* Set AndroidHarness contentView to a TextView (not GLSurfaceView) onDestroy(), perhaps it will help with OOM issues
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
a53c052f74
Fix issue with how Android logging is handled.
...
- 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
12 years ago
rem..om
bfb1b21d6b
Android : FINE or lower log levels are now displayed in output when configured so
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
1d7a631430
Android : MultiSampling is now supported on android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10460 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
9a28fed581
Android : changed the way the pixel config is passed to the OGLESContext. It's now passed in the appSettings.
...
This is a first step toward a generalization of the use of appSettings in the AndroidHarness.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
b7ae718b64
Correct default value for invert mouse events. By default, raw touch events have the same coordinate origin as Desktop mouse events (lower left corner). The default for mouseEventsInvertX and mouseEventsInvertY should be false to match Desktop mouse.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10390 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
ea973c14c3
- change logging from logger.info() logger.fine and logger.warning()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
7ba657e430
- set logging from Level.INFO to Level.FINE for most logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
044d81f7e8
Add calls to loseFocus and gainFocus when activity pauses and resumes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
1df4fe8346
Attempt to clean up some references to help with out of memory issues on second start of app on Android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
5b326f4054
Minor reorganization of how appSettings are created and passed to the Context on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9745 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
iwg..om
39f265f50e
Adding Android Sensor support as simulated joysticks. Only orientation is supported right now, more sensor types to be added later. When device orientation changes, Joystick[0] is updated just like using an actual joystick. Users need to add "joystickEventsEnabled = true" to the MainActivity to enable the orientation joystick so battery life is conserved if sensor data is not desired. See http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for the long history.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
16851eb1d8
Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
pot..om
bb631ab13a
Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cc3577acdc
* Android renderer now supports configuration changes (see: http://jmonkeyengine.org/groups/android/forum/topic/supporting-device-configuration-changes/#post-181170 )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
0fe3b69f7d
- ANDROID Reverted a change in resolution setting, as it apparently has bad side effects on GUI
...
- 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
13 years ago
Sha..rd
29b2596359
* Removed various misc handling code from AndroidHarness to OGLESContext/JmeAndroidSystem to ease using jME3 outside of AndroidHarness
...
* 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
13 years ago
rem..om
1a771236cf
fix NPE in AndroidHarness when quitting (thanks iwgEric)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
191bd21b40
Removed AndroidHarness specific calls from the OGLESContext.
...
- 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
13 years ago
rem..om
d2b727cfd8
Android : OGLESContext can now finish the activity when being destroyed, this way calling app.stop() from jME finished the associated activity.
...
This feature can be disabled by setting a flag in the MainActivity.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
a3497ca8b2
Null check on audio renderer in the onPause and onResume of the android Harness. The audio renderer appears to be null (wich is another issue)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b89b2428af
* Applied audio fix patch (thanks prich)
...
- 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
13 years ago
Sha..rd
8652b1f759
Android
...
* 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
13 years ago
rem..om
82b1e94953
Added SpashScreen support for android thanks to iwgeric
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3cdaf0e051
jme3:
...
- fix imports in all classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
c906508e62
- big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
...
- 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
14 years ago
nor..67
6113425db9
- add loading of native bullet libraries to AndroidHarness, caught if fails
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8828 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
3f95a0ca2f
* Eclipse classpath no longer includes .svn folders
...
* 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
14 years ago
sha..rd
5ac90f46fa
* Formatting for many android classes which needed it desperately
...
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
* Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
0b7f96726f
Android: fixed logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
d90f6e7e18
Android: Allow custom app instantiation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
2f8ae09033
Android: Fixed a race condition in OGLESContext which sometimes called initialize() more than once, added screen resolution setting and invert mouse x to harness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
7b0f06ff4d
Android: added mouseEventsInvertY option to Harness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
ef6b7157b9
Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
c58f429543
Android: Fixed bug in AndroidHarness if appClass can not be found
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
a7974ac659
Android: Added first prototype of AndroidAudioRenderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7723 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
f230997d93
Android: added customizable messages to exit dialog
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
fef0820ca6
Android: fixed bug - EGL_SURFACE_TYPE is checked now. Added ConfigType.FASTEST and .BEST to AndroidHarness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7685 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
f02c21a51f
Android: fixed crash in harness if inputManager is not initialized yet
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
026b7f2211
added sending of historic events and added exit dialog to AndroidHarness
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
5461d56ac6
Android: Added proper OpenGL ES version detection and a best EGL Config Chooser
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7594 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago