Alexander Smorkalov
fde99e68c0
Removed Android AIDL from build scrips and tutorials as it's not needed since 4.9.0.
11 months ago
Alexander Smorkalov
e5d1309fcf
Fixed typo in Android build scripts.
11 months ago
Alexander Smorkalov
aa6b399b5a
AAR package build and test with CI
...
- Use the same tools and plugins for SDK build and AAR build
- Added script to test Gradle-based samples against local maven repo
- Various local fixes and debug prints
1 year ago
Alexander Smorkalov
2830551e89
Drop OpenCV Manager from samples initialization.
1 year ago
alexlyulkov
6c57ce9e09
Merge pull request #24473 from alexlyulkov:al/samples_with_maven
...
Updated Android samples for modern Android studio. Added OpenCV from Maven support. #24473
Updated samples for recent Android studio:
- added namespace field that is required in build.gradle files
- replaced _switch_ by _if-else_ because it doesn't work with constants from resources
- added missed log library dependency in face-detection/jni/CMakeLists.txt
- use local.properties to define NDK location
Added support for OpenCV from Maven. Now you can choose 3 possible sources of OpenCV lib in settings.gradle: SDK path, local Maven repository, public Maven repository. (Creating Maven repository from SDK is added here #24456 )
There are differences in project configs for SDK and Maven versions:
- different dependencies in build.gradle
- different OpenCV library names in CMakeLists.txt
- SDK version requires OpenCV_DIR definition
Requires:
- https://github.com/opencv/ci-gha-workflow/pull/124
- https://github.com/opencv-infrastructure/opencv-gha-dockerfile/pull/26
1 year ago
Alexander Alekhin
eae5fd81e5
android: add android:exported="true"
2 years ago
Hannes Achleitner
553259ef99
Fix typo
4 years ago
hannesa2
57c9991413
Merge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml
...
* delete old AndroidManifrst.xml
* fix tutorial generation
5 years ago
Hannes Achleitner
afc8dd5661
remove Eclipse relicts in Android sample
5 years ago
Hannes Achleitner
2da7360b63
Remove Android Eclipse relicts
5 years ago
Giles Payne
2734291b35
Add CameraActivity utility class to automate Camera permission request handling
5 years ago
Alexander Alekhin
2b35c1708b
android: gradle-based package and samples
...
- drop hello-android sample
6 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
qubick
5502f0b45d
surfaceview import
9 years ago
qubick
1434f55cb9
camera view was enabled to visible when the app launched
9 years ago
Maksim Shabunin
bfa77ff5a4
Increase android samples versions
10 years ago
Maksim Shabunin
231685133e
OpenCV Manager: support 3.0.0 library
10 years ago
Maksim Shabunin
c42424f2db
Fixed android samples build
10 years ago
Alexander Alekhin
15b6fd2ec4
android: allow to build & run examples without Android OpenCV Manager
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
hbristow
2059972bf7
Preparing to rebase
12 years ago
Alexander Smorkalov
076941bb07
15-puzzle app reverted to usage of old CvCameraViewListener implementation;
...
super.onPause() call moved to begining of onPause method according Google recomandations.
12 years ago
Alexander Smorkalov
f8720ec60e
Code review issues fixed. Compatibility issues fixed.
12 years ago
Alexander Smorkalov
6b5eac328f
Android samples updated according onCameraFrame callback signature change.
...
FpsMeter class removed from Image Manipulations and Face Detection examples as unused code.
12 years ago
Andrey Pavlenko
dd8e648d78
hiding empty menu button on Android 4
12 years ago
Alexander Smorkalov
2c67731a7b
Issue #2549 OpenCV Samples does not expand on full screen fixed.
...
All samples use application style in android manifest instead of system calls in onCreate event now.
12 years ago
Andrey Pavlenko
cfd634ca3e
Improving compatibility with the latest Android SDK (r21) and NDK (r8c).
...
- Adding Android SDK/ADT r21 compatibility;
- fixing stl headers path for new ndk;
- fixing native API level for Android projects
12 years ago
Alexander Smorkalov
a1a2cb0aeb
OpenCV Samples testing problems fixed:
...
Memory leak in color-blob-detection sample fixed;
Default face size in face-detection is set to 20%;
Error handling improved;
Some possible mat leak fixed;
Manager verison and engine interface version incremented to fix incompatibilities;
Docs updated;
12 years ago
Alexander Smorkalov
83d8bc8c55
Tutorial 1 updated. Execution time camera switching implemented.
...
Some unification done to simplify camera switching.
12 years ago
Alexander Smorkalov
76bcf72ded
2.4.3 version support added to OpenCV Manager. Docs updated. Samples updated.
12 years ago
Alexander Smorkalov
a942747046
Code review coments fixed. Lint wornings fixed.
12 years ago
Alexander Smorkalov
c64ee44c9e
Color blob detection sample ported on new framework.
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
dbd30d4fba
Revert "fixing Java test and sample after moving drawContours() from Imgproc to Core"
...
This reverts commit eb4ce67dac
.
Conflicts:
samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionView.java
12 years ago
Alexander Smorkalov
a91de25f10
Build fix after issue #2284 fix.
12 years ago
Andrey Kamaev
f2a486c34b
Fix Android samples for devices having front camera only (Nexus 7)
...
(cherry picked from commit 067744d071
)
12 years ago
Andrey Kamaev
58baf2b455
Fix package name of Android color blob detection sample
...
(cherry picked from commit fc93518449
)
Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
12 years ago
Andrey Kamaev
11bffb0e7d
Unify manifest files in Android examples
...
(cherry picked from commit bd12f636c8
)
Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
12 years ago
Andrey Kamaev
067744d071
Fix Android samples for devices having front camera only (Nexus 7)
12 years ago
Andrey Kamaev
fc93518449
Fix package name of Android color blob detection sample
12 years ago
Andrey Kamaev
bd12f636c8
Unify manifest files in Android examples
12 years ago
Andrey Kamaev
05630b336b
Updated package version in Android samples
...
(cherry picked from commit 47b9640785
)
Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
12 years ago
Andrey Kamaev
47b9640785
Updated package version in Android samples
12 years ago
Andrey Kamaev
a4235948a7
Fix Andoid samples: black screen after resume problem
12 years ago
Andrey Kamaev
285af48040
Fix Andoid samples: black screen after resume problem
12 years ago
Alexander Smorkalov
5acb80a9b1
ColorBlobDetection Sample, ImageManpulations Sample and Tutorial2 updated. Issues with native camera on Nexus 7 (Android 4.1) fixed.
12 years ago
Alexander Smorkalov
a1d8091e10
ColorBlobDetection Sample, ImageManpulations Sample and Tutorial2 updated. Issues with native camera on Nexus 7 (Android 4.1) fixed.
12 years ago
Andrey Pavlenko
9f4c5afbbb
merging r9039-9040,9044 from trunk (warnings and message in Java)
13 years ago