81 Commits

Author SHA1 Message Date
rem..om
446c03935e Fixed NPE in AndroidAudioRenderer when soundPool is not initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:44:51 +00:00
rem..om
bb9b2ea5ce Changes to AndroidInput to properly handle multipoint touch events with proper ids (thanks to techsonic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:27:02 +00:00
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
2012-02-17 13:04:53 +00:00
rem..om
afc2710626 Removed the call to glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT as it generates an INVALID_ENUM error.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:03:44 +00:00
PSp..om
07d5451a31 Removed the direct accessing of the seconds counter
so that I don't break the build with my next changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:07:45 +00:00
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
2012-02-15 04:30:35 +00:00
Sha..rd
4aa00107e2 * Added missing AndroidImageInfo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9148 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:16:27 +00:00
Sha..rd
381a3365ef * Applied android audio renderer patch (thanks to prich on the forum)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:14:03 +00:00
Sha..rd
a64db6fc7b * Andrid - AndroidLocator now follows spec when regards to multiple call support with AssetInfo.openStream()
* Android - fix exception with recycled bitmaps that occurs when jME3 application is restored/maximized after pause

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:42:19 +00:00
Sha..rd
3fa629053a * Deleted AndroidApplication and AndroidSkyFactory due to deprecation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:10:35 +00:00
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
2012-02-11 06:08:49 +00:00
Sha..rd
65c27304be * Android - disable GL error check by default
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:35:29 +00:00
Sha..rd
b75a3415c5 * Android - fix shader compile error on PowerVR GPUs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:32:24 +00:00
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
2012-01-21 09:59:10 +00:00
Sha..rd
b38e545036 * Fix Android 2.2 - 3.2 crash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 02:13:17 +00:00
nor..67
60f7963cf4 - add storage folder support to android renderer, thanks @iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 20:36:50 +00:00
Sha..rd
9c6ca69b34 * Fixed GLSL version parsing issue on Android 4.0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 04:49:28 +00:00
rem..om
1547500b5a AndroidInput now correctly handles mutiple pointers touch events
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 18:42:51 +00:00
rem..om
dd76ee0890 Fixed Tap confirme event that was sending 2 tap events on each tap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 15:05:52 +00:00
rem..om
a906b97be3 AndroidInput now correctly dispatches DOUBLETAP event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 23:29:51 +00:00
rem..om
5454675cda Formatted AndroidInput.java so it doesn't look like a C++ file...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 21:58:30 +00:00
rem..om
cbd1248302 Mesh bufferList is now a SafeArrayList instead of an ArrayList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 20:27:28 +00:00
rem..om
ed6dedb409 OGLESShaderRenderer : Changed Iteration on mesh buffer to use bufferList ArrayList instead of buffer IntMap. This fixes the non working animation issue on android. IntMap must be further investigated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 17:35:24 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
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
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9 - 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@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
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
2011-11-27 23:27:56 +00:00
sha..rd
f9a798c651 * Better check for android version. Should prevent NoSuchMethodError: glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-14 05:08:12 +00:00
sha..rd
6110509b8e * Added android 2.2 workaround for glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 02:55:51 +00:00
nor..67
72a4282dc0 - make FreeForm project for android code
- change build process to move back class files after creating separate jar files

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:10:48 +00:00
nor..67
fcb6b2e6ab Android:
- change glVertexAttribPointer use to API level 8 method signature

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8653 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 23:19:54 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sky..ok
84116c85f8 Created clickable links out of http mentions in all jME3 Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 20:23:39 +00:00
sha..rd
55bfc5f0cf * Update to LWJGL 2.8.1
* Audio system to use new NativeObject class for managing audio buffers and filters
 * Formatting for AndroidAudioRenderer
 * Changed AndroidAudioData to match new NativeObject class
 * AudioNode now serializes the audio key as "audio_key" instead "key"
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:33:42 +00:00
sha..rd
107380afc1 * Moved GLObjectManager to util, it is now NativeObjectManager and can be used to manage collection of any native object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8422 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:26:31 +00:00
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
2011-09-30 04:24:36 +00:00
sha..rd
a5be89598f * Always close InputStream in WAVLoader
* Fix use of deprecated classes/methods in android tests
 * Fix bugs with joysticks often generating events for both the negative and positive side of axis
 * Camera.clone() properly clones the gui bounding
 * Camera.setParallelProjection() updates the camera's projection matrix instead of keeping old values
 * LwjglOffscreenBuffer obeys by framerate setting and sets renderable property as needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 00:50:13 +00:00
rem..om
c011a29529 OGLES renderer : gl error now appear after the shader code output when a shader fail to compile (like in LWJGL renderer)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-18 14:21:07 +00:00
kim..ng
7d315f04d9 Android: removed old apk code and added source of the curent beta1 demo apk.
Source is in: jme3test.android, only java classes and the android manifest.xml, not buildable without your own android project

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 16:04:15 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
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
2011-09-10 21:26:59 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
nor..67
42f3770946 - fix AndroidApplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 08:48:45 +00:00
kim..ng
895e02f2a6 Android: minor fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8090 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 17:35:30 +00:00
kim..ng
5f0bfd8c2e Android: complete rework of the config chooser, LEGACY is still using Android phone code, FASTEST is using 5,6,5,0,16,0 but with code in jme3-andoid which is currently identical to the android source and BEST is using 8,8,8,8,16,0 - also with the same jme3 code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 12:46:10 +00:00
kim..ng
0b7f96726f Android: fixed logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 18:27:17 +00:00
kim..ng
bb2d1073de Android: added some more logging to the surface creation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7888 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 09:19:50 +00:00
kim..ng
7d08828fa7 Android: fixed excessive logging in audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 15:18:32 +00:00
kim..ng
0a58b3c92b Android: added ConfigType.LEGACY
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 10:32:00 +00:00