• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting input from local devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting input from local devices


  • Subject: Re: getting input from local devices
  • From: Neil MacLennan <email@hidden>
  • Date: Sun, 20 Jul 2008 20:37:06 +0100

Johann,

You could either use a web app or a Java Client here. Many input devices simply emulate the keyboard and so can enter their scanned data directly into a regular INPUT element on a web page. Some Javascript here could automatically submit the form to your WOApp or do some Ajaxy stuff.

However, I implemented a GUI JavaClient App when I needed to use a handheld barcode scanner. It's remarkably simple to hook up your JavaClient EOs to the WOApp on the server in order to send your input data to it.

http://web.mac.com/flor385/eSwamp/software/wojc_tutorial.html

Florijan's page is all you need, but if you want I could probably resurrect what I did to get you started.

.neilmac

On 20 Jul 2008, at 16:47, Johann Werner wrote:

Hi list,

I am just thinking about what possibilities exist to get input data from a device that is connected locally to the client (e.g. a security card reader or a barcode scanner) into WO. An app deployed as Java Client could easily interact with local devices but what if a have a "normal" WO app? AFAIK JavaScript cannot access resources other than the webbrowser itself and I didn't find any helpful information on that matter.
Did anyone solve that problem or has any insight on how it could be done? I can't imagine that this is a totally uncommon situation.


jw

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: getting input from local devices
      • From: Johann Werner <email@hidden>
References: 
 >getting input from local devices (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: Any thoughts on this deployment error?
  • Next by Date: Re: Localization Help! (was Localizer Default vs. Browser)
  • Previous by thread: getting input from local devices
  • Next by thread: Re: getting input from local devices
  • Index(es):
    • Date
    • Thread