Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native camera access for Android #3492

Closed
1 task done
deviagomendes opened this issue Jun 19, 2024 · 1 comment
Closed
1 task done

Add native camera access for Android #3492

deviagomendes opened this issue Jun 19, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@deviagomendes
Copy link

Duplicate Check

Describe the requested feature

Please implement the ability to access the device's native camera on Android directly within the Flet framework. This feature should allow users to open the camera, take pictures, and possibly record videos without needing to use external packages or plugins.

Suggest a solution

Please implement the ability to access the device's native camera on Android directly within the Flet framework. This feature should allow users to open the camera, take pictures, and possibly record videos without needing to use external packages or plugins.

Suggest a solution:
The preferred solution is to integrate a native camera widget that can be easily added to any Flet application. This widget should provide:

Camera Preview: A live preview of what the camera is seeing.
Capture Button: A button to capture photos.
Video Recording: An optional feature to record videos.
Configuration Options: Ability to set camera resolution, switch between front and back cameras, and adjust focus/zoom settings.
Technical Implementation Details:

Utilize the Flutter camera package (camera) as a base for this feature.
Ensure the implementation is well-integrated with the existing Flet framework, allowing seamless use within Flet applications.
Provide clear documentation and examples demonstrating how to use the camera widget in Flet apps.
Tradeoffs:

Increased complexity in maintaining platform-specific code.
Possible delays in updates due to the need to synchronize with changes in the Flutter camera package.
Future Considerations:

Expansion to support other platforms (iOS, web) for a consistent cross-platform experience.
Integration with other media-related functionalities such as gallery access and media storage.

Screenshots

No response

Additional details

The ability to access the native camera is a critical feature for many applications, especially those involving media capture, social interactions, and documentation. By adding this feature, Flet will be significantly more useful for developers building rich, interactive applications. Given the high demand and essential nature of this feature, we request that it be prioritized accordingly.

@ndonkoHenri
Copy link
Contributor

Closing as duplicate of #1281

@ndonkoHenri ndonkoHenri added the duplicate This issue or pull request already exists label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants