Comments (4)
Hi, to get output file you should use next approach String filePath = data.getStringExtra(AnncaConfiguration.Arguments.FILE_PATH);
on onActitvtyResult
method. It is not possible right now, but I will add it.
from annca.
Thanks.
Now,I can copy photo to target folder(Use "data.getStringExtra(AnncaConfiguration.Arguments.FILE_PATH)" on onActitvtyResult),but ,if we can set the target folder by configuration, that's so good.
from annca.
Hi memfis19,
Thanks for providing good example of custom camera. Can you please update code where i can set my own path with different folder? Also, in CustomCamera2Activity and CustomCameraActivity can you write code for flash (Auto,ON,OFF) and switch camera (Front/Back)?
from annca.
Hi, yes I'll add sample for flash and camera switch soon. As for customizing path I'am not sure about it, but will try to do it asap also. Anyway you can use approach provided by @AFAP and copy from specified path to your own. (Currently I'm working on quite big update for library so I'm not sure about adding custom path feature in current version).
from annca.
Related Issues (20)
- Can't install: Error:(121, 13) Failed to resolve: io.github.memfis19:annca:0.3.7
- Orientation of photo is off
- How to detect if media is photo or video?
- Flash light in video
- Front Camera layout to set to full screen HOT 1
- Open camera capture preview ratio 1:1 HOT 2
- Change filename HOT 1
- AspectRatio HOT 1
- Add FullscreenTheme to readme
- onPhotoTaken not called on Camera2 HOT 1
- The audio play but the images do not move
- Setting Icon hide
- Flash not working by default settings FLASH_MODE_ON
- Image Location Enable ?
- flash is not working in camera1manager
- Android 4.4.4 - Can't disable shutter sound
- Video duration is only 2 seconds HOT 1
- Video is not recording in android 10+ HOT 2
- Get uri from captured photo (onActivityResult) HOT 1
- Change video codec
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annca.