iwgeric
5c6deeb5ab
Android: add GLFbo interface to AndroidGL to fix cast exception
2015-04-27 23:23:26 -04:00
iwgeric
da8bd08aa1
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine
2015-04-26 19:22:28 -04:00
iwgeric
a52bc0a82c
Bullet (and jBullet): Update Test Classes to use BulletAppState.setDebugEnabled instead of PhysicsSpace.enableDebug.
2015-04-26 19:21:00 -04:00
iwgeric
70b03ea28a
Bullet (and jBullet): Remove deprecated PhysicsSpace.enableDebug method in favor of BulletAppState.setDebugEnabled.
2015-04-26 19:20:06 -04:00
iwgeric
116adbba1f
Android: Support JoystickCompatibilityMappings for reassigning joystick axes and buttons.
...
Also added ability to add new buttons as events come in due to Android not providing a definitive way to determine which buttons are supported on the device.
2015-04-19 12:40:17 -04:00
iwgeric
fecfa8ccd0
Android: add joystick compatibility mapping for XBOX 360 controller connected to Android device using USB dongle
2015-04-19 12:38:43 -04:00
iwgeric
d80de0cc5b
Android: Add static property to disable sensors but still have joysticks.
...
May move this to AppSettings later, but not sure yet.
2015-04-18 14:48:30 -04:00
iwgeric
6c24390663
Android: Fix issue handling key events that are tied to both keyboard and gamepad
2015-04-17 19:53:55 -04:00
iwgeric
a5b4df68d8
Merge branch 'AndroidInput'
2015-04-17 19:05:34 -04:00
iwgeric
61ba11d872
Rework of Android input system to support future expansion and gamepad support.
...
Gamepad support is still a work in progress, but functions.
2015-04-17 19:02:19 -04:00
iwgeric
1a19c4291a
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine
2015-04-07 18:35:59 -04:00
iwgeric
22d3f7f9f4
Android: Refactor joystick support to prepare for upcoming gamepad support.
2015-04-07 18:35:48 -04:00
iwgeric
47e9b9ba16
Android: Remove unused property to track if joysticks are enabled.
2015-04-07 17:53:54 -04:00
iwgeric
4102e91456
Android: remove unused properties in AndroidHarnessFragment
2015-04-02 23:51:26 -04:00
iwgeric
d00c8a109f
SDK: Switch android projects to use an Android Fragment
2015-04-02 23:50:37 -04:00
iwgeric
b095158bc0
SDK: Add temporary fix to remove android.jar from mobile/libs folder during build.
...
android.jar is being added to jme3-android.jar during the build. Build script of jme3-android project needs to be updated to not add android.jar to begin with.
2015-04-02 13:16:03 -04:00
iwgeric
664dfc037c
SDK: Update creation of MainActivity and AndroidManifest to support jME 3.1
...
Add screen orientation to manifest and update the min version to 9.
Update MainActivity creation to remove references to properties removed from AndroidHarness.
2015-04-02 13:14:16 -04:00
iwgeric
be6416b736
SDK: Add layout.xml and strings.xml to Important Files node in Android projects.
...
Useful to quickly modify the layout for the upcoming switch to Android Fragments.
2015-04-02 13:12:08 -04:00
iwgeric
5ab8fb8f6a
Android: remove reference to screenOrientation from unused test project
2015-04-02 13:09:49 -04:00
iwgeric
1569e9583a
Android: remove deprecated screenOrientation from AndroidHarness.
...
Screen orientation is set in manifest instead of in MainActivity.
2015-04-02 13:08:53 -04:00
iwgeric
00a2a84447
SDK: fix message during android build
2015-03-31 13:32:26 -04:00
iwgeric
32275596bf
SDK: Update mobile-impl.xml in user projects for jME 3.1 libraries
2015-03-31 13:29:25 -04:00
iwgeric
1fa4eb441d
SDK: Remove android.jar from jme3-android global library
2015-03-31 13:12:15 -04:00
iwgeric
ca76754889
SDK: Add missing global library for android native bullet
2015-03-29 23:02:05 -04:00
iwgeric
4baceb6a08
fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit
2015-02-14 10:27:23 -05:00
iwgeric
661f4c6d2e
Copy jme3-android-native and jme3-bullet-native-android to the dist/opt folder as part of build
2015-02-08 00:11:46 -05:00
iwgeric
92b33ddc9e
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine
2015-01-30 13:00:51 -05:00
iwgeric
b71d94c37c
Fix NPE while destroying the Fragment when a splash screen is used.
2015-01-30 13:00:39 -05:00
iwgeric
ef6882aeda
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine
2015-01-27 13:03:25 -05:00
iwgeric
6d8ef39976
Add support for setting a maximum resolution on the GLSurfaceView while maintaining the aspect ratio (AndroidHarnessFragment only).
2015-01-27 12:57:35 -05:00
iwgeric
6ec86fe919
Initial commit for support of launching a jME application as an Android Fragment
2015-01-26 21:28:11 -05:00
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.
2015-01-24 11:05:20 -05:00
iwgeric
83a9f87fe1
Enclose startParameter.excludedTaskNames inside task
2015-01-24 10:53:34 -05:00
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.
2015-01-10 01:03:02 -05:00
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.
2015-01-06 08:46:19 -05:00
iwgeric
3ee52c38ed
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git
2015-01-06 08:40:22 -05:00
iwgeric
47477daa05
Forgot to update the commit text
2015-01-06 08:38:39 -05:00
iwgeric
5948479de4
comment out android show keyboard. Now using JmeSystem method to show/hide android soft keyboard.
2015-01-06 08:34:49 -05:00
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.
2014-12-12 13:16:41 -05:00
iwgeric
a116389814
Forgot to add isSimulateKeyboard to TouchInput interface.
2014-12-12 13:00:05 -05:00
iwgeric
1ed1463476
Add support for enabling/disabling KeyEvent simulation for soft keyboards on Android similar to MouseEvents.
2014-12-12 12:48:25 -05:00
iwgeric
249f62fe95
remove showVirtualKeyboard from TouchInput
2014-12-12 12:16:45 -05:00
iwgeric
7040e32cc4
Add javadoc to JmeSystem.showSoftKeyboard
2014-12-12 12:04:16 -05:00
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.
2014-12-12 08:42:13 -05:00
iwgeric
d42a777909
Add showSoftKeyboard(boolean show) to JmeSystem.
...
Includes empty implementations for now. Android to be implemented in next commit.
2014-12-12 08:15:53 -05:00
iwgeric
8560b98aa0
Add android.jar to root project and use during jme-android project build.
...
Current version is rev19, KitKat.
2014-12-08 22:50:33 -05:00
iwgeric
6f4b90feed
Temporary fix for searching for version strings until URA is done.
2014-12-08 22:41:45 -05:00
iwgeric
fb04910980
Always include the jme3-android-native but only build based on "buildNativeProjects" property.
...
Needed to allow for the project to package the pre-compiled libs if not building the project.
2014-12-08 22:35:23 -05:00
iwgeric
7c8fa29b26
Adding a VideoRecorderAppState for Android. Performance is really bad, but it will at least run and store the AVI. Not really intended for app usage, but it's been handy in a couple of places. Just committing to lot lose the changes necessary to make it run. More work required, for sure.
2014-03-31 13:12:10 -04:00
iwgeric
37dd89c8f1
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git
2014-03-31 12:18:22 -04:00
iwgeric
a43b5c1835
remove android mk files from bullet-native. android native bullet has it's own subproject
2014-03-31 12:18:02 -04:00
iwgeric
768f099d1d
remove android build from jme3-bullet-native (separate subproject now)
2014-03-28 08:32:03 -04:00
iwgeric
20c1894409
Merge AndroidNativeBulletSubProject
2014-03-28 08:21:18 -04:00
iwgeric
dbe4912884
remove a change to ndk path (made by mistake)
2014-03-28 08:18:54 -04:00
iwgeric
1ef1420c4d
update settings.gradle to include android native bullet project
2014-03-28 08:17:41 -04:00
iwgeric
26c08caa8c
add separate project files for building android native bullet
2014-03-28 08:16:22 -04:00
iwgeric
8b912cd768
change method to check for existance of the android ndk
2014-03-28 08:15:10 -04:00
iwgeric
8a4bb58bda
add native bullet build properties to gradle.properties in root project
2014-03-28 08:13:47 -04:00
iwgeric
f380140ff7
add pre-compiled libs for android native bullet
2014-03-28 08:12:31 -04:00
iwgeric
ef23737d36
ignore android native bullet build directory
2014-03-28 08:11:25 -04:00
iwgeric
13632f2ca9
remove unused project property
2014-03-25 12:24:27 -04:00
iwgeric
ac8b52cff0
Merge origin/master
2014-03-25 08:48:23 -04:00
iwgeric
57b77151aa
update android native build to support precompiled libs that are used if not building the libs. If building the libs, then the pre-compiled libs are updated with the output of the build.
2014-03-25 08:48:01 -04:00
iwgeric
88fa9b40dc
Update .gitignore
...
Shouldn't have added libs directory. This is for the pre-compiled native libs.
2014-03-24 20:01:51 -04:00
iwgeric
a2ab6f183d
merge and fix conflicts
2014-03-24 19:55:27 -04:00
iwgeric
df2e38798d
update native android libs build to use pre-compiled versions of the libs from the repo if not building native libs
2014-03-24 19:46:06 -04:00
iwgeric
384e19f281
update .gitignore for pre-compiled android native libs that are used when not rebuilding native libs
2014-03-24 19:42:01 -04:00
iwgeric
f9bb9cb3a9
update .gitignore for downloaded stb_image files
2014-03-24 19:40:49 -04:00
iwgeric
4d272915d9
Remove Android Native project from build natives property check.
2014-03-24 19:37:42 -04:00
iwgeric
c965e4066d
Add method to check for existance of NDK
2014-03-24 19:35:44 -04:00
iwgeric
5cfd1c812b
Change stb_image to be auto downloaded during build
2014-03-24 08:19:51 -04:00
iwgeric
d1033005ae
Change AndroidAssetManager to use the native lib to load png and gif files
2014-03-24 00:48:30 -04:00
iwgeric
ee8e42f921
add native android lib for loading png and gif files. Does not premultiply. Uses stb_image ( http://www.nothings.org/stb_image.c )
2014-03-24 00:47:08 -04:00
iwgeric
b94a20db14
Merge commit 'f5c841aac54c09cb038d942407245f440f1d02d6'
2014-03-24 00:41:12 -04:00
iwgeric
d871ba42be
Merge commit 'a0ccd9984c328dda80df3acffad6095e76878c52'
2014-03-24 00:40:12 -04:00
iwgeric
f5c841aac5
reorganize build of Android OpenAL Soft lib
2014-03-24 00:11:38 -04:00
iwgeric
a0ccd9984c
add method to find the android ndk build executable in a common way for all sub projects that need to build a native android lib
2014-03-24 00:05:23 -04:00
iwgeric
a186abba6a
test commit from github site
...
only added a blank line to test making changes from the github site.
2014-03-22 07:50:49 -04:00
iwg..ic
a0badf9d4c
Add jar packaging for android native bullet builds
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10992 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-15 17:45:41 +00:00
iwg..ic
766ebef96d
WIP: Add support to build the Native Bullet for Android (only building, not packaging into jar file yet)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 18:20:12 +00:00
iwg..ic
a8a664b76b
Import commit 10930 from the experimental branch to support Bullet file list changes in the future (and fix build of Bullet 2.82)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 18:06:56 +00:00
iwg..ic
5453d4f5e9
Improve checking of when to download and unzip the source OpenAL Soft files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 17:56:24 +00:00
iwg..ic
5b2a661f56
Add support for downloading and building OpenAL Soft for native Android audio
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 04:06:05 +00:00
iwg..ic
71938ff80d
fix android.mk for OpenAL Soft build
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 03:34:43 +00:00
iwg..ic
8069f10d30
add android ndk build path
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2014-01-14 03:32:02 +00:00
iwg..ic
911958cfbe
Android: set PreserveEGLContextOnPause when the os is rev 11 or higher. Dramatically reduces the resume time when the context can be preserved.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10919 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-27 02:11:49 +00:00
iwg..ic
743aa2144a
Android: Add scaling to input coordinates (onTouch Coordinates from Android) to compensate for manually set surface resolutions. Android always sends the touch coordinates relative to the view resolution, not the resolution of the surface. If users use view.getHolder().setFixedSize(width, height) in MainActivity.onCreate(), then the input coordinates are not correct which messes up ray casting and other things. This scales the input coordinates before sending them to jME.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-26 02:35:00 +00:00
iwg..ic
4f75cb688f
Android: Move application initialization to the first onDrawFrame. Resolves issues where simpleInitApp gets called without the correct appsettings width and height.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-26 02:20:42 +00:00
iwg..ic
cf92f30090
Android: Change Android Input to the new AndroidInputHandler.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10908 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 17:15:39 +00:00
iwg..ic
60c58fd081
Android: Add new extendable input system to organize various Android inputs so that they can be extended to support new Android input functionality when the OS running the app supports it. Not activated yet. Just adding the supporting classes for now.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 13:33:30 +00:00
iwg..ic
67aa834369
Android: Add onHover events to TouchEvent. Not implemented yet.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10906 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 13:07:43 +00:00
iwg..ic
a1dee924f6
Android: Updating source compile android.jar library to rev19. Developers, don't forget to use Build.VERSION.SDK_INT to check for the OS version when using Android features added after rev9. Base version of Android supported by jME 3.1 will be rev9 (Android 2.3).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 22:11:23 +00:00
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
2013-11-21 18:20:38 +00:00
iwg..ic
9ed99ce21f
Add placeholder for future showVirtualKeyboard method for platforms implementing TouchInput
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10897 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:30:51 +00:00
iwg..ic
f7e8f405d5
Add toString() method for TouchEvent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10896 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:22:35 +00:00
iwg..ic
813d163ea7
Add wheel values to toString() for MouseMotionEvent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10895 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:21:18 +00:00
iwg..ic
21f9aac4ce
Fix issue with clearing the map of native objects without clearing the ReferenceQueue. Caused exception in NativeObjectManager when Android recreated the OpenGL context before objects were polled from the ReferenceQueue.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10889 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-13 17:39:55 +00:00
iwg..ic
6a39a6b5ba
Add isEnabled to PhysicsControl interface
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-09 12:19:14 +00:00
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
2013-10-01 16:38:58 +00:00
iwg..ic
c1c9fc871a
Add alpha bits to AppSettings. Currently only to be used for Android EGL config choosing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10809 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-01 16:33:43 +00:00