Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ujs

Pages: 1 2 3 4 5 ... 9
Thanks for your help Uwe-I'm going to start installing software in the building classrooms this week.   Another question, should the new .bat file replace the existing one and keep the same name?

The new .bat file replaces the old one, the file's name isn't important at all.


The BT API you use requires winsock, the only stack that uses winsock in Windows OS environment is Widcomm v4.
In fact, my app doesn't work with winsock since it uses the Java Bluetooth library BlueCove. Click here for the list of supported stacks by BlueCove.
As far I thought, winsock and WIDCOMM are different stacks.

As we have discussed for some time the IR-Tracking in Windows for Java Whiteboard is not as good as the .net versions. I read a few posts on your site some time ago to the effect it maybe library problem but because one library is closed source you cannot compare.
I can personally neither confirm or refute that claim. I'd also think it's unlikely a problem with the library WiiRemoteJ.

Honestly, this Bluetooth hardware/software mess is a good example of why I'm not using PCs/Windows anymore.


Hi Ben,

I personally haven't run my app on Windows in months, so I don't know about the current situation in terms of Bluetooth stacks and such.

But because Uwe can use the Bluetooth API, connection is no doubt simpler. You can use Java White board with the Widcomm V4 stack but then the library has a problem (I think its the library, but Uwe will inform better) and doesn't track IR at a distance very well.
I have no idea what you're talking about :). Which "Bluetooth API" and "library" are you talking about?
I remember you told me that IR sensitivity is worse on Windows, although I haven't a clue why that should be.

But Widcomm is no longer supporting V4 or the API so its is increasingly becoming obsolete.
What is becoming obsolete?


So mine would look like this-based on image I included.
java -Dorg.uweschmidt.wiimote.whiteboard.wiimoteAddresses=00:22:aa:84:b3:8d -jar WiimoteWhiteboard.jar

Like my example above, remove all colons and better use uppercase:

java -Dorg.uweschmidt.wiimote.whiteboard.wiimoteAddresses=0022AA84B38D -jar WiimoteWhiteboard.jar


Sorry-I not clear where I need to put  java -Dorg.uweschmidt.wiimote.whiteboard.wiimoteAddresses=(mywiimoteaddres) -jar WiimoteWhiteboard.jar.  Am I just renaming the WiimoteWhiteboard.jar  or am I opening the jar file with some kind of program and making a change, or is there a document that I'm altering.   

You need to type that into the command line to start the application each time. Since this is not very convenient, you can put the command into a batch file which can then be started by double-clicking like any other app.

In a nutshell:

1. Go to the folder with the WiimoteWhiteboard.jar
2. Create a new text file and put the command in it
3. Change the text file's extension from .txt to .bat
4. Double-click the .bat-file to start the app


Hi Dale,

What and where is the area that  needs to be changed in the application bundle (windows version)?

The part about the application bundle is Mac-specific. This is relevant for you:

Quote from:
In case you're running the cross-platform JAR-file, you can set the properties like this:
java -Dname=value -jar WiimoteWhiteboard.jar

Hence, you would start the app like that: java -Dorg.uweschmidt.wiimote.whiteboard.wiimoteAddresses=001E351309C2 -jar WiimoteWhiteboard.jar
Just replace the Bluetooth address with your own.


Hi Jim,

you can configure my application to only connect to specific Wiimotes. See "Runtime Options" at
I know this is a bit complicated right now, but it has to be done only once. I guess I'll make this easier in the next release due to "popular demand".


Wiimote Interactive Whiteboard / Re: Wii Calibration
« on: March 11, 2009, 03:56:15 PM »

Wiimote Interactive Whiteboard / Re: Java Wiimote Whiteboard Help
« on: March 07, 2009, 05:35:57 AM »
I'm getting the same message on my home vista machine for Java.

My program doesn't work with the Winsock stack. This may help:


General Discussion / Re: secondary display OS X
« on: March 03, 2009, 03:43:45 PM »

Wiimote Interactive Whiteboard / Re: Whiteborad and Multitouch
« on: February 28, 2009, 05:53:53 PM »
Firstly, Ujs, you don't have to be sorry for my ignorance in understanding how it works. haha. I was just venting ideas. ... I don't have the time to try and learn and understand what it takes to be a programmer...
I won't pretend to try and understand the intricate details and the complex formulas to programming the wiimote and how it works. I'm purely interested in the pedagogy behind Interactive Whiteboards and how to best maximise and enhance student learning.
I didn't know that. I just wanted to let you know that it doesn't work as you think.

Maybe it's time that Microsoft develops a totally new computer platform that incorporates the use of multiple mice simultaneously in all applications. This would solve the issues. (Just venting ideas again Ujs because I don't have a clue as to what's involved in programming a completely new system)
Check this out:

Nonetheless, I am developing other work that will achieve much better results for multi touch compared to Johnny Lee's Wiimote Whiteboard.
Any details on that?


Wiimote Interactive Whiteboard / Re: Whiteborad and Multitouch
« on: February 28, 2009, 04:22:38 PM »
The Wiimote can track 4x IR-sources (2x Wiimotes = 8 IR-sources).

Well, it's not that simple. Each Wiimote will track the 4 brightest IR sources. So using 8 equally bright IR lights won't work as you might expect.

Mac has a few application in TUIO/OSC format hence why ujs has included in Java Whiteboard.

Most multitouch apps that I'm aware of are Flash and hence cross-platform. More details:


Wiimote Java Whiteboard / Re: Mac Software Question
« on: February 28, 2009, 09:52:04 AM »
Does the Mac version of the Wiimote Whiteboard application only support one Wiimote currently or is there a way to connect two for better coverage? Thanks for the help.

You can use two Wiimotes either for redundancy or partial screen coverage.


Wiimote Interactive Whiteboard / Re: Whiteborad and Multitouch
« on: February 28, 2009, 05:52:09 AM »
This all sounds really positive. It (multi-touch) obviously can be achieved. If promethean and interwrite have this capability, then it's only a matter of time before the clever programers out there can get the wiimote working too.

My software already outputs multitouch data (for up to 4 IR pens) in the commonly-used TUIO/OSC format. Someone "just" needs to write Whiteboard software that makes use of it...

It has 4 built in Ir cameras. Can each be dedicated to a different pen? Maybe 2 wiimotes may be needed but whatever it takes, I hope you can get it going.

I'm sorry to say, but you don't understand how this works.

Read these threads/posts:


Pages: 1 2 3 4 5 ... 9