tags:

views:

48

answers:

0

I am attempting to use the Tom Gibara code to provide access to my webcam from an android app running in the emulator.

If I run webcambroadcaster in the Eclipse ide the console window reports that it is grabbing frames. I am using Windows 7 and if I view the task manager screen I can see that under Processes there is an entry for javaw.exe, but I cant recognise anything in the Services window. I have built a.jar for webcambroadcaster and if I run that as java webcambroadcaster.jar in a Windows console window it reports that it cant find 'main' and exits.

I have tried running webcambroadcaster from the Eclipse window and the closing the project and run my android app from th4e Eclipse ide with Debug. That fails at the socket.bind(null) call.

If i could get webcambroadcaster to run from thw Windows console then I could debug my app in Eclipse. I am assuming that I cant have 2 projects running at the same time in Eclipse.....or can I?

I have used netstat -n to find my IP and port details. There is a list of 127.0.0.1 entries - if the top of the list is the last started then the port is given as 5037. However there is also a list of 192.168.1.2 entries with various port numbers. I have used the 192 reference in webcambroadcaster and the fact that it reports grabbing frames means I suppose that that is the right IP address.

I suspect that I am quite close to having this run ok, can anyone suggest where to look for the next step? Thanks Ron