-
Notifications
You must be signed in to change notification settings - Fork 114
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
Why the photos taken are stored 2 versions ? #42
Comments
This is a known issues. I will soon look into it and get back to you. |
Is one of them created by camera3 and another one created by pp3 ? I guess that the one from camera3 is used to process in pp3, and you forgot to delete the first one can u tell me any clue ? EDIT * I see SimpleCameraHost.getPhotoFilename() include Photo_+ts+.jpg so the one in DCIM is from cwac camera |
No camera3 and pp3 are just proxy test modules that are removed in production. They are not even being called when you have enabled the gradle dependency from maven. |
anyway, you can try playing with it and notifiy me of what exactly is causing this. At the moment, I am clueless and need diving in in order to figure the problem culprit out. You help will greatly be appreciated and if possibly, I will release with the fix in 1.0.14 |
Ok I will tell you then I'm just novice in github , I'm sorry for any using-mistake . |
Its perfectly fine to make mistakes @phasuksmit |
I found it .. String path = MediaStore.Images.Media.insertImage(getActivity().getContentResolver(), bitmap, getPhotoFilename(), null); this not only get path from somewhere, but 'insertImage' also creating new thumbnail and another file too how can I fix this ? Seems like Android not run file.java, it only open from .class file |
You will have to clone this repository, make the changes and send me the PR. I will merge once I feel everything is fixed correctly. If it is not urgent to you, it will need me a day or 2 to get this fixed and out into test builds. |
This is strange. A friend of mine uses PolyPicker and he uses Note2 to test. |
It's happen to me only from the default cloning link anyway, I suggest you to fix String path = MediaStore.Images.Media.insertImage(getActivity().getContentResolver(), bitmap, getPhotoFilename(), null); change path to anything, may be default gallery path, try not to use insertImage as it will create small photo. |
Ahh. Thanks for the help man... I will keep it in mind and fix ASAP. In the meantime test the snapshot build and report the bugs back here. Checkout my G+ post from last evening https://plus.google.com/+JaydeepWagh/posts/VTkVsDwPmpU |
I found it's a bug in file https://github.com/jaydeepw/poly-picker/blob/master/PolyPickerDemo/pp/src/main/java/nl/changer/polypicker/CwacCameraFragment.java#L139 I can quick fix by adding |
Why the photos taken are stored 2 versions ?
both in /DCIM/...
and /Pictures/...
uri: /storage/emulated/0/Pictures/1431406896165.jpg
uri: /storage/emulated/0/DCIM/Photo_20150512_120139.jpg
Can anyone tell me how to remove one creation process ?
The text was updated successfully, but these errors were encountered: