-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Feature: Attach Photos Captured By Device Camera #138
Conversation
Hey, @Ismail-AD can you please fix the |
@aritra-tech bro I tried your mentioned command and tried almost every solution but nothing works EVEN WHEN APP IS LAUNCHING and WORKING very FINE.I have attached the ScreenShot can you help me to solve it out : |
Okay let me have a look. |
I just checked your code and ran it the result I was expecting is not matched. I wanted that there would be a camera option that would enable the user to take images using their camera and when clicked it would be shown in the notes. I hope you got the point @Ismail-AD what will you do now and what will be the flow? |
I got you bro 😀 |
Can you please fix the conflicts @Ismail-AD |
okay i will check them |
@aritra-tech i will suggest you to do test it and perform next action |
Yeah sure I will test it out and merge it soon if every thing went well. |
@aritra-tech check is again pointing to problem which i told you yesteraday |
Required changes @Ismail-AD
I hope you got the point, take your take no need to hurry. 😊 |
@aritra-tech Bro WHEN i clicked images from camera as per your Image View Code i have to pass URI ok so i neeed to preserve my camera clicked image somewhere and that image is saving to gallery first after that i got the URI for that image as it is saved somewhere (in gallery) and that URI is then used to display image SECONDLY you open gallery to pick image you see that camera clicked image into GALLERY . AM I RIGHT OR WRONG (looking forward towards your clear statement for change If i am wrong and if right this is the way i need to genrate uri i am looking forward towards better suggestions as well) |
Yeah got your point I was thinking differently. |
You mean user click images from camera(image is preserved in gallery) and save a note and in next note user select image from gallery that is previously preserved image clicked to generate URI (so after saving second note both will have same images there is no exception in my point as per case it is OKAY, as image CLICKED through camera will definitely have to save somewhere) IF i am wrong again i am saying clear the change request statement |
Actually, I was wrong. |
actually give me a second i will perform some conditional checks and then we continue our conversation i have to clear it today so be active |
@aritra-tech as far as if we will try to change type which i will not suggest 2 things will happen we have to update Note Model to add list of bitmaps + Storing bitmaps as byte arrays INTO DATABASE can significantly increase the size of your database, leading to performance issues, increased storage requirements and Retrieving image data from a database can be slower AND i will not suggest this rather we should go with previous approach (i am looking forward towards your response ). |
Okay your points are right. Let's then stick to URI only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Thanks for contributing @Ismail-AD 🎉
Issue #86
Hello @aritra-tech ,
I hope you're doing well. I wanted to bring to your attention a new pull request I've submitted that introduces a valuable feature to the project.
Pull Request Title: Adding Camera Library for Image Attachment Feature
Description:
In this PR, I have added the CameraX library to project, allowing users to capture and attach images to their notes.
Video
I have attached Video that demonstrate the new feature in action:
imageLibbCheck.mp4
Request for Review:
I request you to review this PR at your earliest convenience. If you have any feedback, suggestions, or questions, please feel free to let me know.
Thank you for your time and consideration. I look forward to your feedback.