Using Apache Cordova Plugins and Cordova Build APK - Page 3 - Forum

Forum Navigation
You need to log in to create posts and topics.

Using Apache Cordova Plugins and Cordova Build APK

PreviousPage 3 of 3

Hi @shahram,

I found these 2 scripts : I tried 'script 2' in a button, compile as APK, load codova plugin. when I click the button it launches the camera program of the smartphone ! OK ! So I can take a picture !

But I don't know how to interconnect these scripts and VisualNeo ( I mean : where is the result of the photo done with the camera ?) so I can see the result inside of Visualneo...
I do hope you can help me.
Best regards,

 

Uploaded files:
  • You need to login to have access to uploads.
Quote from CDY@44 on March 12, 2021, 12:39 am

Hi @shahram,

I found these 2 scripts : I tried 'script 2' in a button, compile as APK, load codova plugin. when I click the button it launches the camera program of the smartphone ! OK ! So I can take a picture !

But I don't know how to interconnect these scripts and VisualNeo ( I mean : where is the result of the photo done with the camera ?) so I can see the result inside of Visualneo...
I do hope you can help me.
Best regards,

 

Hi @cdy44-2

About first script:

To display the captured images, just put an Image on the Page. Set the desired id for the image. Then inside the camera code, set the value getElementById equal to the Image id.

Img1         img2

 

img3

Now after taking the photo, it will be displayed in Image.

luishp, CDY@44 and noyzen have reacted to this post.
luishpCDY@44noyzen

Thank you @shahram !

shahram has reacted to this post.
shahram

Gracias por la ayuda y por los tutoriales, ya he conseguido mi APK,  sin vuestra ayuda me hubiera sido imposible ya mis conocimientos son escasos.

Un saludo, GRACIAS!!!

 

luishp and shahram have reacted to this post.
luishpshahram
PreviousPage 3 of 3