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
Maksim Shabunin
c1e5c16ff3
Backport C-API cleanup (imgproc) from 5.x
2 years ago
Alexander Alekhin
eae5fd81e5
android: add android:exported="true"
2 years ago
Hannes Achleitner
3b54ebec3f
fix lint errors and warnings ins Android samples
...
backporting of commit 4057e81b76
5 years ago
Hannes Achleitner
4057e81b76
fix lint errors and warnings ins Android samples
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
Otto Seiskari
3a1ccd5f43
Remove fullscreen android:theme where it hides the menu
...
Many of the Android samples rely on an options menu to work properly
but, at least on newer devices, the menu is permanently hidden by the
Android theme "Theme.NoTitleBar.Fullscreen", which means that most
of the examples were dysfunctional.
6 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
Alexander Alekhin
491a3fdebc
android samples: force setVisibility (see #5812 )
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
Vadim Pisarevsky
00b2124876
fixing more compile problems with Java bindings etc
10 years ago
Neo Alienson
b6e25a9fc7
Fix typos
11 years ago
Alexander Alekhin
15b6fd2ec4
android: allow to build & run examples without Android OpenCV Manager
11 years ago
hbristow
2059972bf7
Preparing to rebase
12 years ago
Alexander Smorkalov
82c61eba49
Feature #2893 Create Java sample without layout.xml implemented.
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
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
d495daf1ed
Memory leak of native OpenCV mats fixed.
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
c1d42664bc
Refactring. Bug fix.
12 years ago
Alexander Smorkalov
a942747046
Code review coments fixed. Lint wornings fixed.
12 years ago
Alexander Smorkalov
84856fa2c1
CMakeLists.txt rescued. Androidmanifest unified.
12 years ago
Alexander Smorkalov
898320a0f6
Code clean up.
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
Alexander Smorkalov
a91de25f10
Build fix after issue #2284 fix.
12 years ago
Andrey Pavlenko
a8e7f91e34
java samples fix (clear view before drawing frame) of 'dirty' FPS display bug
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
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
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
Andrey Pavlenko
9f4c5afbbb
merging r9039-9040,9044 from trunk (warnings and message in Java)
13 years ago