Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB MacOS Java - recommendations




Hello Peter,

I've been looking into Java and USB for some time (and would happily pay for a commercial solution if it were available).
As you've already found out, Linux is currently the only platform fully supported by javax.usb.

I think you have two options:

1)  get stuck into JNI; it's not too bad if you only need a small subset of functions (but I've only done it on Windows!).  The JNI functions just provide a wrapper so you can do most of your programming in Java.

2)  join the Java USB developers forum (http://sourceforge.net/mailarchive/forum.php?forum=javax-usb-devel) and ask the question there.
There is a guy called Brad Barclay who is lead developer at JSyncManager (http://www.jsyncmanager.org) and is gently working on a Mac OS X USB implementation.  There is some Mac OS code at http://sourceforge.net/projects/jsyncmanager but I don't know if it includes USB yet.

=====================

It's surprising to me that an interface as ubiquitous as USB is still not fully cross-platform accessible to Java, either open source or commercially.  There have been several people who have had a stab at providing solutions for Windows and Mac but nothing other than Linux is fully supported, (I'd happily give some time to the project but I'm not clever enough!!!)

Good luck - let us know if you find anything.

Andrew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.