opencv/samples/android/tutorial-4-opencl
Alexander Smorkalov c803aa2ddd
Merge pull request #26057 from asmorkalov:as/android_16k_pages
Android builds update #26057

Fixes https://github.com/opencv/opencv/issues/26027
Should also address https://github.com/opencv/opencv/issues/26542
 
Changes:
- Switched to Android build tools 34, NDK 26d, target API level 34 (required by Google Play).
- Use flexible page size on Android by default to support Android 15+.
- Dummy stub for R and BuildConfig classes for javadoc.
- Java 17 everywhere.
- Strict ndkVersion and ABI list in release package.

Related:
- Docker: https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/41
- Pipeline: https://github.com/opencv/ci-gha-workflow/pull/183

Related IPP issue with NDK 27+: https://github.com/opencv/opencv/issues/26072

Google documentation for 16kb pages support : https://developer.android.com/guide/practices/page-sizes?hl=en

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-12-31 11:53:04 +03:00
..
gradle Build warning fix in Tutorial4-OpenCL. 2024-01-31 12:51:28 +03:00
jni Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
res Refreshed OpenCL sample for Android. 2023-12-04 14:54:32 +03:00
src/org/opencv/samples/tutorial4 Merge pull request #24715 from AleksandrPanov:update_android_opencl_sample 2023-12-20 16:23:00 +03:00
build.gradle.in Merge pull request #26057 from asmorkalov:as/android_16k_pages 2024-12-31 11:53:04 +03:00
CMakeLists.txt Refreshed OpenCL sample for Android. 2023-12-04 14:54:32 +03:00
lint.xml Camera and Camera2 preview is rendered via OpenGL textures and can be modified on CPU via C++ code. No OpenCL yet. 2015-07-27 01:07:56 +03:00