Jump to content

Can Java do this?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Rafi

Rafi

    Newbie

  • Members
  • Pip
  • 2 posts
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?

#2
Nathandelane

Nathandelane

    Newbie

  • Members
  • PipPip
  • 22 posts
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
#?
there are no dumb questions, except for the ones you don't ask.
Nathandelane

#3
farrell2k

farrell2k

    Learning Programmer

  • Members
  • PipPipPip
  • 60 posts
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
Chinmoy

Chinmoy

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 392 posts
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
Rafi

Rafi

    Newbie

  • Members
  • Pip
  • 2 posts
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?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog