Mattia Iavarone
1b5a20b034
Fix demo app null pointer, add null annotations
6 years ago
Mattia Iavarone
bb0e08c731
Fix OutOfMemoryError in BitmapCallback
6 years ago
Mattia Iavarone
b1f584aede
Changes in the demo app
6 years ago
Mattia Iavarone
ddf7c960c3
Remove cameraFacing definition in demo app
6 years ago
Mattia Iavarone
69349b0187
Facing now defaults to FRONT if we have no BACK cameras. Throw a new CameraException if no camera found
6 years ago
Mattia Iavarone
4f95c3e7d5
Add max size and duration constraints to videos
6 years ago
Mattia Iavarone
419ff34736
Create PictureRecorder and two implementations
6 years ago
Mattia Iavarone
481062a08b
Change demo app appearance
6 years ago
Mattia Iavarone
2999e9aa65
Respect VideoCodec from options
6 years ago
Mattia Iavarone
926b03cf35
Fix transformation issues in preview and final video result
6 years ago
Mattia Iavarone
d291d88814
Working implementation of MediaCodecVideoRecorder
6 years ago
Mattia Iavarone
31a5d20fcd
Revert demo app changes
6 years ago
Mattia Iavarone
e207041a31
Add cropping functionality to GLCameraPreview
6 years ago
Mattia Iavarone
ab576286f3
Temp commit
6 years ago
Mattia Iavarone
4f6271d670
Add GLCameraPreview based on GLSurfaceView, preview appears to be working with some bugs
6 years ago
Mattia Iavarone
bd7a4d3cc9
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
d409bb2449
Add setVideoSize, video size selectors and available video sizes in CameraOptions
6 years ago
Mattia Iavarone
acf1b4cdde
Removed VideoQuality.
6 years ago
Mattia Iavarone
a37caf0760
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
6 years ago
Mattia Iavarone
969c5a8c74
Fix preview size computation, demo app details
6 years ago
Mattia Iavarone
2cd8ad1fa6
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
2500b81b78
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
68ff331a80
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
49fa18901e
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
3d8bf1618c
Error handling and lifecycle boilerplate ( #265 )
...
* Update dependencies
* Improve error handling
* Add lifecycle support
* Use lifecycle in demo app
* Add README info
6 years ago
Mattia Iavarone
07f6078385
Demo app - Lock orientation to a fixed value ( #168 )
7 years ago
Jonas Rottmann
0a54bf4543
Migrate to new Android Gradle plugin ( #153 )
...
* Migrate to new Android Gradle plugin
* Updated gradle to 4.5 and downgraded JaCoCo
7 years ago
chaitanyaraghav
1bd1816919
Max video file size ( #104 )
...
* Added a maximum file size for videos
* Revereted changes to the onVideoTaken callback signature
* Renamed isRecordingVideo, added xml attribute for video max size and updated the documentation
7 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
7 years ago
Mattia Iavarone
dcf5ef4120
Option to choose the picture output size ( #99 )
...
* Add SizeSelectors and tests
* Implement SizeSelectors in CameraController
* XML attrs, improve AspectRatio cache
* AspectRatio tests
* Flip sizes before passing to selectors
* Add README info
* Fix preview sizing bug
* Nits
* Fix #98
7 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
b9f0f27d8d
Small changes
7 years ago
Mattia Iavarone
b1d183a714
Fix a hardware acceleration bug, disable SurfaceViewPreview features ( #54 )
...
* Layout changes
* SurfaceView onSurfaceCreated is too early. Fix
* Add logs
* Refactor some classes, fix hardware acceleration bug, disable cropping for SurfaceView
* Update README with known limitations
7 years ago
Mattia Iavarone
5964080db4
New demo app ( #53 )
...
* New demo app
* UI fixes
* Refactor preview activities
* Add gestures control
7 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
7 years ago
Mattia Iavarone
cce8d6e621
WorkerHandler survives config changes ( #29 )
...
* Weak cache for threads
* Add logs
* Fix manifest
7 years ago
Mattia Iavarone
53bb5baf42
Add logger for debugging ( #25 )
...
* Add logger for debugging
* Update CameraLogger.java
* Fix #27
* More log messages
7 years ago
Mattia Iavarone
4e5c772902
Fix location bug, add setLocation(Location) ( #10 )
7 years ago
Mattia Iavarone
9d9e93e67d
Scroll gestures support, abstracting GestureLayout
7 years ago
Mattia Iavarone
e5ca52a8d7
Moved SessionType to enums, removed CameraConstants
7 years ago
Mattia Iavarone
b65e9e446d
Moved VideoQuality to enums
7 years ago
Mattia Iavarone
776238a5df
Moved Grid to enums
7 years ago
Mattia Iavarone
c122fbe80e
Moved Flash to enums
7 years ago
Mattia Iavarone
cb53602daf
Removed deprecated classes
7 years ago
Mattia Iavarone
c967eeae68
Move facing values to enums
7 years ago
Mattia Iavarone
1e6ccfec4a
Publish to bintray
7 years ago
Mattia Iavarone
2207ae12d4
Gesture support, map gestures to camera actions
7 years ago
Mattia Iavarone
59a001ab4d
New icon
7 years ago
Mattia Iavarone
2432b11fb8
Fix Mapper bug, new icon
7 years ago
Mattia Iavarone
4b250ca34b
new icon
7 years ago