Results 1 to 9 of 9
  1. #1
    TSW
    TSW is offline Member
    Join Date
    Feb 2012
    Posts
    5
    Rep Power
    0

    Default Applet with Hardware Access

    Hello ^-^
    I need to write an applet that can access the users locally connected Scanning Device [E.G Flatbed Scanner] and then export the data to a file, I'd like to know, for a start if that is possible to do without external libarys.

    Sorry if I sound kinda nooby, I kinda am D:

    I've been trying to do this for a while now and It's starting to annoy me ><

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,398
    Rep Power
    25

    Default Re: Applet with Hardware Access

    if that is possible to do without external libarys.
    I would think it would. Java does not have code for devices.

    Why do you want to use an applet, instead of an application? An Applet will require permission to touch anything on a PC it is loaded on.

  3. #3
    TSW
    TSW is offline Member
    Join Date
    Feb 2012
    Posts
    5
    Rep Power
    0

    Default Re: Applet with Hardware Access

    ^-^ Thanks for the reply
    and well, It's not my choice, Has to be an in browser applet that uses the users scanning hardware

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,398
    Rep Power
    25

    Default Re: Applet with Hardware Access

    The applet will need permission to access anything on the PC.
    Two ways to give permission,
    sign the jar files used.
    add an entry to the local PC's .java.policy file

  5. #5
    TSW
    TSW is offline Member
    Join Date
    Feb 2012
    Posts
    5
    Rep Power
    0

    Default Re: Applet with Hardware Access

    ^-^ Thanks again,
    Any tips on actually getting the data from the device itself?

  6. #6
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,398
    Rep Power
    25

    Default Re: Applet with Hardware Access

    Read the manual for the software that came with the device.
    Visit the manufacturer's website.

  7. #7
    TSW
    TSW is offline Member
    Join Date
    Feb 2012
    Posts
    5
    Rep Power
    0

    Default Re: Applet with Hardware Access

    ^-^ Thanks, Great help

  8. #8
    TSW
    TSW is offline Member
    Join Date
    Feb 2012
    Posts
    5
    Rep Power
    0

    Default Re: Applet with Hardware Access

    I've looked in another forum and apparently i'd need more than the standard API.

    I've looked into the Libarys they suggested like JTwain and JSane but to use these would cost a tad too much.

    I've also wondered if I could use Javax.comm? Would love to know If this was possible to open a port and read the image data

    ^-^ Thanks for all the help so far.

  9. #9
    paddysmith is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Default Re: Applet with Hardware Access

    Can you use DirectX or OpenGL shaders, for example?

Similar Threads

  1. getting error when applet try to access some jar file
    By anchitanc in forum Java Applets
    Replies: 21
    Last Post: 01-05-2012, 01:59 PM
  2. Replies: 0
    Last Post: 03-07-2011, 09:02 PM
  3. file access from applet
    By Ranu in forum New To Java
    Replies: 11
    Last Post: 07-29-2010, 06:37 AM
  4. data file Access from applet
    By Ranu in forum New To Java
    Replies: 3
    Last Post: 07-28-2010, 08:11 AM
  5. How can I access the values within an applet?
    By Addez in forum New To Java
    Replies: 0
    Last Post: 12-18-2009, 03:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •