VideoCapture deprecated?

55 views
Skip to first unread message

Muchey

unread,
Jun 17, 2019, 11:35:45 AM6/17/19
to CodenameOne Discussions

Hello,

Please I am trying to use this class seen from the API.

I cant seem to find it.

With what can I replace this class with?

VideoCaptureConstraints

Please assist

Shai Almog

unread,
Jun 17, 2019, 11:41:55 PM6/17/19
to CodenameOne Discussions
Hi,
no it's there. Make sure your client libraries are up to date.

Muchey

unread,
Jun 18, 2019, 10:34:29 AM6/18/19
to CodenameOne Discussions
So I moved out ma files, Uninstalled NB and CN1 plugin, then re-installed and updated both.

I try to import this:

import com.codename1.capture.VideoCaptureConstraints;

This is all I find in the class capture..

import com.codename1.capture.Capture;

Is there something I havent done yet?

Please assist.

Yet this 

Shai Almog

unread,
Jun 19, 2019, 12:11:45 AM6/19/19
to CodenameOne Discussions
Try going through the process highlighted here to make sure you're libraries are current: https://www.codenameone.com/blog/tip-fix-issue-missing-builds.html
You might be using an old plugin.

Muchey

unread,
Jun 19, 2019, 9:10:34 AM6/19/19
to CodenameOne Discussions
So I tried the process steps and got this in the attached file. I have checked my connection and retried this for another update which went fine, hence am not sure why this isnt working.
2019-06-19 14_09_43-Codename One Preferences.png

Shai Almog

unread,
Jun 19, 2019, 11:25:56 PM6/19/19
to CodenameOne Discussions
The update didn't go fine. You can't connect. Are you behind a proxy?

Muchey

unread,
Jun 20, 2019, 8:41:36 AM6/20/19
to CodenameOne Discussions
Proxy allowed for connection, firewall turned off just to confirm. All connection settings in place.

Been on this all day, no headway yet.
Any alternative attempt greatly appreciated.

Shai Almog

unread,
Jun 20, 2019, 11:56:25 PM6/20/19
to CodenameOne Discussions
You need to configure the proxy settings in the Network options in the simulator.

Muchey

unread,
Jun 21, 2019, 7:50:23 AM6/21/19
to CodenameOne Discussions
Thanks Shai,

Worked.However,I am stucked at this point in the trace below: I need to cancel this build in the queue.
How can this be achieved so I regenerate?

Also a prompt displays while build is ongoing. Which password should be entered?
  • The password used for the Keystore generator?
  • The login password to the build server?
  • The Email password?

You have a build in progress within the queue. Only one build may be active at a time
C:\Users\Public\CodenameOne\build.xml:343: Login failed
BUILD FAILED (total time: 3 seconds)
 

Shai Almog

unread,
Jun 21, 2019, 11:39:23 PM6/21/19
to CodenameOne Discussions
The email/password to the build server, that's the title of the prompt.
You probably have an old version of the plugin that's constantly overwriting your CodeNameOneBuildClient.jar. You need to fix it.
Reply all
Reply to author
Forward
0 new messages