Commit Graph

151 Commits (24056c1979923a5432f81d3f2499ee32ab5f4dde)

Author SHA1 Message Date
sha..RD 455a621384 * Fix android native crashes and other bizarre problems with 32-bit index buffers 12 years ago
sha..RD 289c25e7e8 * Possible fix for memory corruption issue on Android when compressed texture formats exceeds 16 entries. 12 years ago
iwg..ic e21f22e6dc Fixed issue with handling Multi-Touch not tracking MOVE for second finger when first finger is lifted. Thanks to kumasao. 12 years ago
iwg..ic ab5282fb2d Additional fix for http://code.google.com/p/jmonkeyengine/issues/detail?id=504. 12 years ago
rem..om 9a6fe1fdf5 Fix to previous commit to OGLESShaderRenderer. Accidently committed unrelated and non working changes to the renderer. 12 years ago
rem..om 68e0e835f5 Ogles renderer now correctly supports Verctor4 uniforms 12 years ago
iwg..ic 044d81f7e8 Add calls to loseFocus and gainFocus when activity pauses and resumes 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 12 years ago
iwg..ic dd46be3688 Add support for multiple folder storage types for getStorageFolder 12 years ago
iwg..ic 200df1c84b androidInput.loadSettings was never called, so setting mouseEventsEnabled = false; in MainActivity had no effect. 12 years ago
Sha..rd e9395812bc * Partial fix for issue 504 (Android renderer only) 12 years ago
Sha..rd 9e03dba566 * Add checks for maximum texture resolution in all renderers 12 years ago
Sha..rd 4d01146519 * Add ImageRaster.getWidth() and getHeight() 12 years ago
sky..ok 28ce76245f Change all source licenses to say 2009-2012 12 years ago
sky..ok 751cb9e20a Javadoc cleanup 12 years ago
iwg..ic 3afb803c68 Added check for sensor data accuracy to ignore data when sensor accuracy is unreliable. 12 years ago
iwg..ic 56bf97a7e2 Update Android Sensors to be compatible with the new Joystick interface. http://code.google.com/p/jmonkeyengine/source/detail?r=9763 http://code.google.com/p/jmonkeyengine/source/detail?r=9762 12 years ago
PSp..om bd2695061d Updates to build with latest joystick changes. 12 years ago
iwg..ic 47cb989c63 Added mapping of Android Scale Gesture (ie PinchZoom) to mouse wheel. If mouseEventsEnabled is set, mouse wheel reacts to the gesture. 12 years ago
rem..om 5111fd8b66 Implemented fixedfunc binding for AlphaTestFallOff 12 years ago
iwg..ic 5b326f4054 Minor reorganization of how appSettings are created and passed to the Context on Android. 12 years ago
iwg..ic fa6716877e Remove requirement for buffer type images to have width=height on Android devices that do not support NPOT. Now images allowed as long as both height and width are POT on devices that don't support NPOT. 12 years ago
iwg..ic d2b97fb422 Fix issue with onPause trying to cancel vibration when user has not defined Vibration Service permission in manifest. 12 years ago
iwg..ic 5a71423624 Fix issue with BEST config not choosing a valid config on some devices when RGBA is not matched (ie no config exists with 0bit alpha). ConfigChooser now looks for an exact match of all attributes first, then a match of RGBA only, then uses the first available config. 12 years ago
iwg..ic 3aa223360a Add check for no Vibration Service on Device 12 years ago
Sha..rd 2a11aae3a4 * ImageRaster now supports Android. However the constructor can no longer be used. Instead user should create it by using ImageRaster.create() which automatically defers the handling to JmeSystem. 12 years ago
iwg..ic 5aca23f9b3 Changed Android Joystick Rumble to pulses. Rumble amount is used to determine length of vibration pulse. Vibration now stays on (pulsing based on rumble amount) until user sets joystick.rumble(0). 12 years ago
iwg..ic f219c8596d Added Rumble support for Android. If joystick.rumble is used, then the Manifest file must have <uses-permission android:name="android.permission.VIBRATE"/>. Since Android doesn't allow for changing the vibration intensity, the rumble amount is convert into a vibration time duration in milliseconds (ie rumble amount of 0.25 = 250 milliseconds). 12 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. 12 years ago
nor..67 23e949974a - change default error message of engine 12 years ago
pot..om 16851eb1d8 Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android. 12 years ago
Sha..rd ac0f3a107c * Fix issue where setting texture on renderer with no mipmaps and then setting the same texture with mipmaps would prevent them from being generated (fixed for desktop GL1/GL2 and android) 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. 13 years ago
pot..om 48b40f4e3c Fixed issue where MOVE events were being generated even if the deltaX and deltaY were both 0. Now MOVE events with both deltaX and deltaY values of 0 will not be generated. See post http://jmonkeyengine.org/groups/android/forum/topic/differentiating-tap-from-a-quick-downmoveup/ 13 years ago
pot..om 242f5d82f9 Fixed issue with AndroidInput not resetting the last touch position correctly on the UP and DOWN actions. See forum post http://jmonkeyengine.org/groups/android/forum/topic/small-bug-in-androidinput/#post-183530 13 years ago
Sha..rd c7186886bc * OGLESShaderRenderer.readFrameBuffer() can now read from the main framebuffer in RGBA format. 13 years ago
Sha..rd 55d75c5abc * Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now). 13 years ago
Sha..rd af7435ffdf * jME3 now shows error dialog on exception by default (unless user overrides handleError) 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) 13 years ago
rem..om 4e987ae63e Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background. 13 years ago
rem..om 67712589e2 Android : changed the way the glsurface's pixel format was chosen, allowing the surface to have a translucent background 13 years ago
nor..67 ea0be5cf9f - fix imports across engine 13 years ago
Sha..om 3cdeb6ed4d * Fix issue 476 13 years ago
rem..om cd64f74898 - ANDROID fixed multitouch move taht was not sending additional pointers event. thanks to iwgeric 13 years ago
rem..om d76d58c0e9 - ANDROID audio renderer : added a state check on the MediaPlayer to prenvent it to throw errors 13 years ago
rem..om 0fe3b69f7d - ANDROID Reverted a change in resolution setting, as it apparently has bad side effects on GUI 13 years ago
Sha..rd 1009cd18b0 * Running jME3-android in emulator with GPU emulation now supported but sometimes there are opengl errors (?) 13 years ago
Sha..rd c34189dfe5 * Removed all "verbose logging" parts of OGLESShaderRenderer, as it made the code hard to read. This sort of logging functionality should be done in a "GL Wrapper" sort of class instead. 13 years ago
Sha..rd 4be1d2be1e * AndroidImageInfo now supports getting notification when the bitmap has been successfully uploaded to GL 13 years ago
Sha..rd 29b2596359 * Removed various misc handling code from AndroidHarness to OGLESContext/JmeAndroidSystem to ease using jME3 outside of AndroidHarness 13 years ago