Commit Graph

63 Commits

Author SHA1 Message Date
guanghuafan
19af5fe397 clean-up gradle scripts: leave teapot samples as detailed example,
cleaning the rest to use default and recommend settings

Change-Id: I81d49ff0ca411bd923d2b9cd01481a20642e8a64
2017-12-19 14:49:39 -08:00
guanghuafan
982fe0ea3f Update CMake build to Android Studio 3.0.0 2017-11-28 16:31:55 -08:00
guanghuafan
a9b96b9e2e Update minSdkVersion/NDK to 14 2017-07-24 20:51:27 -07:00
guanghuafan
a748044c71 workaround ASensorManager_getInstance() deprecation issue in NDK-r15 2017-07-11 11:32:15 -07:00
Adithya J
9d8bc765b6 Update Android Plugin for Gradle to 2.3.0 2017-03-07 16:24:45 +05:30
Adithya J
38220c3dae Update SDK Version to 25 2017-02-05 20:21:43 +05:30
guanghuafan
957cd0206a Update to Android Studio 2.2.3
Tested a few samples on Android 22
2016-12-09 14:22:55 +08:00
Tamas Berghammer
00edde0c2d Cleanup the cmake build files
* Uniformalize the syntax used for the different projects
* Remove the usage of "glob" expressions
* Sort file lists to alphabetical order
* Replace uses of include_directories with target_include_directories
* Move some of the logic to subdirectories
* Remove a copy of native app glue
2016-10-05 15:09:11 -07:00
guanghuafan
c6f78d2eae Fix Readme.md issues and other minor modifications 2016-09-19 12:23:34 -07:00
Jiawen Chen
ca59693a6c Set event rate after enabling sensor so it takes effect.
The NDK documentation was not clear, but you are supposed to set the event rate
on an ASensorEventQueue only after enabling its associated sensor. It also needs
to be re-set after re-enabling the sensor. Without it, events arrive at some
"default rate" (quite slowly on some devices).
2016-09-15 09:33:09 -07:00
guanghuafan
a550ca9b3a Merging master-ndkbuild branch into cmake branch
source code are shared with cmake's copy
  two-libs and test-libstdc++ are not shared with cmake
also consolidated Teapots project into one projects called teapots:
  Teapot
  MoreTeapots
  choregrapher-30fps (has its own ndk-helper code)
2016-08-25 12:46:25 -07:00
guanghuafan
1cae952643 Prepare version update change for code review 2016-08-22 23:26:13 -07:00
guanghuafan
3856be5d00 Update build to android studio/gradle version 2.2.0-beta1 2016-08-22 16:53:20 -07:00
guanghuafan
d9b2262a42 update to Android 2.2-alpha5 2016-06-30 21:51:48 -07:00
guanghuafan
1513a7f228 Update to android studio preview 4 with cmake support 2016-06-23 17:03:15 -07:00
guanghuafan
1aaccfa48e Add a few more samples:
audio-echo
   bitmap-plasma
   MoreTeapot
   choreographer
   gles3jni
   hello-gl2
   native-audio
   native-codec
   native-media
   native-plasma
   san-angeles
   sensor-graph
2016-06-07 23:25:54 -07:00
guanghuafan
b2e30e055d Porting samples to android-cmake 2016-05-24 13:33:58 -07:00
guanghuafan
84a9fee0f4 Rename app name to accelerometer 2016-05-10 17:59:34 -07:00
guanghuafan
015402ed7d Update platformVersion to all samples 2016-05-03 11:48:21 -07:00
guanghuafan
c5118fe6bc removing C++ and only keep NDK in android studio's categories 2016-04-27 22:25:54 -07:00
guanghuafan
e0890876e7 update to gradle plugin 0.7.0-rc1
switch to clang to build app
2016-04-24 15:46:54 -07:00
guanghuafan
60d5b73144 addressing doubl quotation issue from CI:
update all to single quotation whenever applicable except for
  hello-thirdparty ( dealing with it when working on it)
2016-04-18 11:48:48 -07:00
lizhifan
f7a1d54cfb fixed winddows build for some projects 2016-04-18 07:34:22 -07:00
guanghuafan
4120f200a7 Updated a few C++ projects
stl to gnustl_static [c++_static/shared not mature]
    use gcc to build [clang has trouble on windows(*)]
    use source code from ndk directly for native_app_glue and cpufeatures
    update gradle build scripts to latest dsl syntax
Tested:  MacX build, emulator and N5X
2016-04-17 18:42:18 -07:00
Hak Matsuda
241763756a Update Teapot/MoreTeapot sample.
- Move ndk_helper and misc shared code under Common/
- Adjust viewport aspect when a screen is rotated.
- Fix FPS disappearing after screen rotation.
- Clean up code.
- Update gradle versions in samples.

Tested: on Nexus6P with NDKr11.
2016-03-23 17:46:23 -07:00
Johan Euphrosine
62e8b660d3 README: add link to gradle experimental docs 2016-02-01 13:57:56 -08:00
Raymond Chiu
0c867fe8f7 Remove incorrectly set compileOpions 2016-02-01 11:39:26 -08:00
Johan Euphrosine
39ab44a430 bump build-tools 2015-12-30 11:16:56 -08:00
Johan Euphrosine
c6d9ebc392 Merge pull request #101 from proppy/bump-gradle-3
bump gradle android plugin to 0.4.0
2015-11-12 18:27:32 -08:00
Johan Euphrosine
521eaa18ed app/build.gradle: switch from += to add 2015-11-12 17:40:01 -08:00
Johan Euphrosine
0d5161a9f1 bump to gradle 2.8-bin 2015-11-12 14:33:09 -08:00
Johan Euphrosine
2fe6c6b8e1 bump to 0.4.0 2015-11-12 14:09:09 -08:00
Johan Euphrosine
9d2d252810 bump to alpha7 2015-10-09 14:49:06 -07:00
Johan Euphrosine
1fe7ab85b2 bump to gradle-experimental-0.3.0alpha5 2015-10-01 18:53:58 -07:00
Philipp Hasper
a20fcfeb93 README: Fixed wrong markdown links
The contributing file is one step higher in the hierarchy
2015-09-29 10:40:32 +02:00
Johan Euphrosine
a08ca5290e bump gradle to 2.6-all 2015-09-14 13:08:19 -07:00
Johan Euphrosine
7d55187429 bump gradle to 0.3.0 2015-09-14 12:16:17 -07:00
Johan Euphrosine
fce5cde9eb remove unused field in sample manifest 2015-09-04 14:27:57 -07:00
Johan Euphrosine
939b97953a add sample manifest for lint free samples 2015-09-04 14:23:07 -07:00
Johan Euphrosine
0df9921910 gradle: force java 7 2015-09-03 14:48:59 -07:00
Johan Euphrosine
e25098f30b AndroidManifest: remove trailing whitespace 2015-09-02 15:02:29 -07:00
Johan Euphrosine
091a71b8fd AndroidManifest: untabify 2015-09-02 15:02:29 -07:00
Johan Euphrosine
d96739f533 fix most lint warnings 2015-09-02 15:02:29 -07:00
Johan Euphrosine
76f4a1edd8 sensor-graph: fix README formatting 2015-09-01 11:02:33 -07:00
Johan Euphrosine
a1f1b21a57 sensor-graph: bump sdk version 2015-08-31 17:31:58 -07:00
Johan Euphrosine
7f91010049 sensorgraph: add missing glDeleteShader calls 2015-08-31 15:08:10 -07:00
Johan Euphrosine
3dec732fa4 sensor-graph: fix activity name and label 2015-08-24 16:03:58 -07:00
Johan Euphrosine
6e99cc0d20 sensor-graph/README: fix typo 2015-08-03 17:18:40 +09:00
Johan Euphrosine
c36b258939 sensor-graph: bump gradle plugin version 2015-08-03 17:16:10 +09:00
Johan Euphrosine
b6185f3e2f sensor-graph: add README and screenshot 2015-08-03 17:14:07 +09:00