You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android provides android.hardware.Camera.Parameters as a way to see what additional options are available for setting manual exposure for the camera (I'm not sure what the iOS version is). I would like to put in a feature request for exposing read/set access to direct Camera.Parameters for devices since nativescript already has the whole API service available.
var mcamera:android.hardware.Camera = android.hardware.Camera.open(0);
var params:android.hardware.Camera.Parameters = mcamera.getParameters();
console.dir(params.flatten());
Since this project uses android.content.Intent this may be impossible with the current implementation.
Android provides
android.hardware.Camera.Parameters
as a way to see what additional options are available for setting manual exposure for the camera (I'm not sure what the iOS version is). I would like to put in a feature request for exposing read/set access to directCamera.Parameters
for devices since nativescript already has the whole API service available.https://github.com/askcs/android-simple-camera/blob/e9cf9a2daf9e6f4c0e2106c1f26224367b5b0126/android-simple-camera/src/main/java/com/commonsware/cwac/camera/CameraHost.java#L74
https://stackoverflow.com/questions/2978095/android-camera-api-iso-setting/37567225#37567225
Since this project uses android.content.Intent this may be impossible with the current implementation.
Update: I found a nativescript project that is using android.hardware.camera directly as an example
More information on the new Camera2 API is here via the CameraCharacteristics
The text was updated successfully, but these errors were encountered: