How do I Capture an Image with Cordova (using cranberrygame)

Get help using Construct 2

Post » Mon Nov 07, 2016 3:56 am

I purchased the cordova plugins on scirra store. I dont not see any example code or documentation. If I want to take a photo should I use Camera or Capture plugin? Whats the benefit of either? How can I see a photo?

I have this code in my C2 and I made apk with adobe phonegap. I can take photo and accept in android, but then the sprite (named Code in the pic) is only a black box on the phone. It wont update to show the picture taken.

Image

What am I missing here?
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Mon Nov 07, 2016 6:26 pm

@cranberrygame the Cordova Camera plugin isnt working.

I also tested to see if file exists CordovaCamera.CameraPicture usnig the plugin and the result is false. Seems the app cannot read the saved file from the camera plugin.
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Tue Nov 08, 2016 11:41 am

Yo I never got any responses to my cadburrygames questions even if I bought the plugins.
Just use regular plugins instead.
Image Image Image
B
29
S
11
G
27
Posts: 730
Reputation: 17,002

Post » Tue Nov 08, 2016 4:25 pm

Regular plugins didn't activate my camera on PhoneGap
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Wed Nov 09, 2016 3:28 am

Even I purchased @cranberrygame plugins and most of them are not working... I think they won't fix them anymore. I suggest use other plugins or use the default plugins of C2. More power!
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Tue Nov 15, 2016 3:47 pm

I cannot get default plugins to work with camera on mobile devices. I tried to compile with phonegap and it wont activate.
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Tue Nov 22, 2016 12:35 pm

@clarkkentnicdao I cannot activate the mobile camera with default plugins of C2. Does it work for you?
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Thu Nov 24, 2016 7:07 am

@ethanpil i don't either.. i am looking for more plugins for camera now.
B
79
S
31
G
7
Posts: 148
Reputation: 9,179

Post » Thu Dec 15, 2016 1:00 am

I have a phonegap camera plugin for sale on my site.
https://h1k3.tech/camera-file-transfers-phonegap/

clarkkentnicdao wrote:@ethanpil i don't either.. i am looking for more plugins for camera now.
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785


Return to How do I....?

Who is online

Users browsing this forum: DharmaOne, namaewayukidesu and 20 guests