I know nothing about programming, but I have an idea for a program that I really want to make. Knowing nothing of the capabilities of programming languages, I am attracted to Java because I want to have the option of writing it for almost any platform.
That being said, this is what my program needs: Access to integrated/usb webcams (for instance a laptop webcam), and the ability to know what applications a user is running/runs. Can java do this? If not, what language must I learn?
Can Java do this?
Started by Rafi, Jun 24 2010 08:27 PM
5 replies to this topic
#1
Posted 24 June 2010 - 08:27 PM
|
|
|
#2
Posted 25 June 2010 - 07:49 AM
I believe that Java can do this, although I have never done it. Java has been made to integrate well with all of the subsystems of every major OS, including Microsoft Windows, Mac OS, Linux, Solaris, UNIX, BSD, and so on. Java does have treatments for USB-hot-pluggable devices. Whether it actually treats them as such I don't know, and it probably doesn't matter. I would look around just to get an idea of what webcam projects are being done with Java, and maybe start there. Check out Java.net.
Nathandelane
Nathandelane
#?
there are no dumb questions, except for the ones you don't ask.
Nathandelane
there are no dumb questions, except for the ones you don't ask.
Nathandelane
#3
Posted 26 June 2010 - 07:06 AM
David Fischer's Java Programming Examples: Capture Video from Logitech QuickCam Pro 3000 USB Camera with JMF uses the java media framework, but you may be better off with c#.
#4
Posted 28 June 2010 - 02:59 AM
For desktop applications, C# is a thousand times better than Java anytime.
God is real... unless declared an integer
my blog :: http://techarraz.com/
#5
Posted 28 June 2010 - 02:48 PM
Thanks farrell2k, that project looks promising.
If I read correctly though, C# is strictly for windows. I might just settle for C# if it ends up being just that much easier. But if I wanted to do it on a mac later, I would have to start from scratch in java or something else, right?
If I read correctly though, C# is strictly for windows. I might just settle for C# if it ends up being just that much easier. But if I wanted to do it on a mac later, I would have to start from scratch in java or something else, right?
#6
Posted 28 June 2010 - 04:23 PM
C# is a great language if you don't care about cross-platform. You can get some programs to work under Mono, but it gets messy from there. Java starts out cross-platform from the beginning.


Sign In
Create Account

Back to top









