Git Product home page Git Product logo

Comments (13)

jaydeepw avatar jaydeepw commented on August 10, 2024

This is a known issues. I will soon look into it and get back to you.

from poly-picker.

phasuksmit avatar phasuksmit commented on August 10, 2024

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

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

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.

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

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

from poly-picker.

phasuksmit avatar phasuksmit commented on August 10, 2024

Ok I will tell you then

I'm just novice in github , I'm sorry for any using-mistake .

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

Its perfectly fine to make mistakes @phasuksmit

from poly-picker.

phasuksmit avatar phasuksmit commented on August 10, 2024

I found it ..
CwacCameraFragment.java

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

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

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.

from poly-picker.

phasuksmit avatar phasuksmit commented on August 10, 2024

In the cloned file, camera is broken (running in Note2, Note1)

I can't do anything right now

screenshot_2015-05-12-15-57-20

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

This is strange. A friend of mine uses PolyPicker and he uses Note2 to test.

from poly-picker.

phasuksmit avatar phasuksmit commented on August 10, 2024

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.

from poly-picker.

jaydeepw avatar jaydeepw commented on August 10, 2024

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

from poly-picker.

noomz avatar noomz commented on August 10, 2024

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 pictureTransaction.needByteArray(false);

from poly-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.