Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 14 2020 15:28
    AshuSingh07 commented #102
  • Feb 14 2020 13:58
    ChristopheBoucaut commented #102
  • Feb 12 2020 23:03
    AshuSingh07 commented #102
  • Feb 12 2020 15:06
    ChristopheBoucaut commented #102
  • Feb 11 2020 17:56
    AshuSingh07 opened #102
  • Jul 26 2018 09:36

    ChristopheBoucaut on v1.0.1

    (compare)

  • Jul 26 2018 09:36

    ChristopheBoucaut on v1.0.1

    (compare)

  • Jul 26 2018 09:05

    ChristopheBoucaut on master

    Add description to use camera a… (compare)

  • Jul 25 2018 13:23

    ChristopheBoucaut on v1.0.1

    (compare)

  • Jul 25 2018 13:07

    ChristopheBoucaut on master

    Add description to use camera a… (compare)

  • Jul 25 2018 10:08

    ChristopheBoucaut on master

    Add description to use camera a… (compare)

  • Jul 11 2018 15:15

    ChristopheBoucaut on v1.0.0

    (compare)

  • Jul 10 2018 08:55

    ChristopheBoucaut on master

    Add package.json for Cordova 8. (compare)

  • Jul 10 2018 08:48

    ChristopheBoucaut on master

    Update cordova's paths in the h… (compare)

  • Jul 10 2018 08:38

    ChristopheBoucaut on master

    Remove cordova-plugin-compat to… (compare)

  • Feb 01 2017 09:53

    ChristopheBoucaut on v0.2.1

    (compare)

  • Feb 01 2017 09:52
    ChristopheBoucaut closed #100
  • Feb 01 2017 09:52

    ChristopheBoucaut on add-permissions-camera

    (compare)

  • Feb 01 2017 09:52

    ChristopheBoucaut on master

    Request permissions to start th… Add error code 4 to permissions… Merge pull request #101 from ge… (compare)

  • Feb 01 2017 09:52
    ChristopheBoucaut closed #101
Christophe Boucaut
@ChristopheBoucaut
with android plugin
but I think that Google stopped to support the plugin ... For the next big developpement, I will try to migrate on Android Studio.
Dazziola's Trunk
@dazziola
Interesting, I'll look at both!
Christophe Boucaut
@ChristopheBoucaut
I think Android Studio needs to change the project because it uses maven and other services which need configurations files in addition.
Dazziola's Trunk
@dazziola
Yea like the plugin doesnt use Gradle or Maven
So Android Studio goes a bit crazy when you import
Christophe Boucaut
@ChristopheBoucaut
You can find more details for the plugin here.
Dazziola's Trunk
@dazziola
Hey Christophe, I hope you are well!
I have a couple of questions you might be able to help me with, with regards to the plugin!
Christophe Boucaut
@ChristopheBoucaut
Hi ! I'm on holidays but I can try to help you.
Dazziola's Trunk
@dazziola
Ah don't worry Christophe! I was just wondering how to remove the grey "postbox" effect of the camera preview screen
When I take a picture, the output picture always jumps, and expands out of position of the overlay
I will get an example
Dazziola's Trunk
@dazziola
The top image is the camera preview with a layover image
the bottom is the captured image, which stretches to near screen size, with the layover image in the same position
Is it possible to lessen the amount of grey (on the right hand side of the top image) and stretch the preview to be the equivelant of the picture output?
I've messed around with the layout files and cant get it to work it seems
Any help would be great, hope you're enjoying holidays!
Christophe Boucaut
@ChristopheBoucaut

Your problem is that the image rendered hasn't same size that the preview from the camera ?

If you changed the layout, you need check here and you need check this method. After, I don't change the preview size, I believe.

Otherwise, you can also take the size of the picture and you will fixe the size for the layout and you keep the ratio. You can get picture size without opening it for limit memory consumption (see stackoverflow).

For the preview, the grey border is here to avoid a stretch of the preview. Indeed, camera resolutions don't match with the screen resolution and with a camera big resolution (for example, with the Nexus 5), the preview is stretched. I didn't find a better solution for this issue for now :/ and the officiel camera on Nexus 5 does the same.

Dazziola's Trunk
@dazziola
Cool, thanks Christophe. I understand the reasoning of not stretching the preview but as you can see in the first image (I've messed about with the layout a little bit so try to ignore the positioning etc!) the Camera Preview section is squashed down in size which distorts the image
Christophe Boucaut
@ChristopheBoucaut
You can check the resolution used and the size set on the layout. Check if the ratio is conserved.
zleal
@zleal
hello guys, i need some help with cordova custom camera or crop image... can anyone help me with that?
my email > agenciazear@gmail.com
for contact and for help me...
Ashu Singh
@AshuSingh07
hello, I tried adding custom camera plugin to my project in dependency file:"cordovacustomcamera": "git+https://github.com/geneanet/customCamera.git" and "org.geneanet.customCamera": "https://github.com/geneanet/customCamera.git". This works fine in my local machine but git repo is not being allowed from enterprise nexus artifacts. They want me to add plugin in package.json similar to "cordova-sqlite-storage": "2.6.0". Please let me know how to add it my package.json file so that npm can install it from enterprise nexus artifact. My jenkin build is failing. your help is highly appreciated.
Ashu Singh
@AshuSingh07
cordova plugin add org.geneanet.customCamera
(node:14016) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 'org.geneanet.customCamera' is not in the npm registry.