So for example taking a picture using the camera extension might result in a darker picture as taking the same picture with your camera app. This obviously is not possible in the extension. The built in camera app can be adjustedĮspecially to the features, the corresponding camera on the device is offering. The Camera extension most probably will not be able to offer the same possibilities as your built in camera app.Use lower quality, lower picture size and focus mode = infinity. Taking a picture takes between 2 and 5 seconds depending on the quality, picture size, focus mode and the device.For some devices the taken picture needs to be rotated by 90 or 180 degrees.However we still have to expect some minor issues for some devices, I now accepted that challenge and here is the solution. Which makes it difficult to offer an extension, which is able to run on all devices without issues. Each device manufacturer uses for different devices different camera components and each camera offer different features,.I did not look into using the newer Camera2 class, because that class will work only for Android 5.0 (API level 21) or greater. That class currently is working for all Android versions starting from Android 3.0 (API level 11). Minimum API Level to use for this extension is API Level 11 (Android 3.0). Permission logic simplified, developer is now responsible to ask for permission DescriptionĬamera extension to take a picture programmatically without user interaction. New properties: UseCameraIndex, CameraIndex, new methods: NumberOfCameras, IsCameraBackfacing, Jul 13st, 2020: Version 6: bugfix for SupportedFlashModes (could return null), Jan 31st, 2019: Version 5: SDK 26 release: new events PermissionGranted and Permission Denied added Oct 10th, 2018: Version 4: new properties for zoom added May 1st, 2017: Version 3: new properties for exposure compensation and white balance added Mar 20th, 2017: Version 2: Initial Version released To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. See the App Inventor Extensions document about how to use an App Inventor Extension.įor questions about this extension or bug reports please start a new thread in theįor feature requests please contact me by email.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |