Author Topic: Java Version, developed under Mac OS X  (Read 108469 times)

Offline Desca;zp

  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Reply #15 on: February 07, 2008, 04:53:09 PM
OK, I am now like 90% sure it's the bluetooth module's fault.  I just can't figure out how to disable the MBP's bluetooth module and use my own.  I'm going to see if there's something that they will replace under the warranty.

I'm going to try this on an older G4 iMac, but I hear that the G4 version of OSX Tiger has bluetooth problems, like pairing is problematic the second time or something.  I'll let you know how it works out.



Offline Thisisjon

  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Reply #16 on: February 08, 2008, 08:31:09 AM
Im using a normal macbook and it works fine. I dont know if the bluetooth is different between the macbook and macbook pro. But if you say that your mouse doesnt work more than 3 feet away I think you are right that the bluetooth is probably pretty jacked



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #17 on: February 08, 2008, 06:59:08 PM
I'm going to try this on an older G4 iMac, but I hear that the G4 version of OSX Tiger has bluetooth problems, like pairing is problematic the second time or something.  I'll let you know how it works out.

Like I wrote on my website:
Quote
Note for Mac OS X PowerPC (PPC) users: you will have to delete the Wii Remote from your previous devices list in System Preferences->Bluetooth->Devices after each connection (every time you connect a given Wii Remote). Even then, the outgoing connection will still fail every other time. There is some sort of bug relating to HCI devices and Apple's library. Luckily, it was fixed for the Intel Macs.

I can affirm that. I had the exact problem when I tested the program on my PowerPc Mac Mini.

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline Thisisjon

  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Reply #18 on: February 08, 2008, 07:46:50 PM
Now I am having problems running it on windows. It gets stuck at the "hold 1 and 2" window. I assume this is because the program isnt properly connecting to the bluetooth stack.



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #19 on: February 08, 2008, 07:53:26 PM
You apparently need the "right" combination of bluetooth dongle and bluetooth stack to get it to work on Windows.
Try running it from the command line, I'm pretty sure you'll see an error message...


Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline Desca;zp

  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Reply #20 on: February 08, 2008, 09:38:34 PM
I tried this on a couple of PPC Macs (a lampshade iMac and a Titanium PowerBook), and I got an error, like the jar file could not be run, or something (I did it at work and didn't write down the error message).  Any ideas?

Note that both were running latest 10.4, and I used a Kensington BT stick, the same one in both machines.  I don't know if that matters.



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #21 on: February 09, 2008, 07:16:01 AM
Note that both were running latest 10.4, and I used a Kensington BT stick, the same one in both machines.  I don't know if that matters.

I guess the problem is the 3rd party Bluetooth stick because the BlueCove Java Bluetooth library may not be able to deal with it.

And Java 5 is at least required to run the program, but you said both were latest 10.4 systems...


Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline deeloke

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reply #22 on: February 11, 2008, 08:56:56 AM
Hi
i just played around with this on my MBP. Unfortunately the sensing range is very limited (reliably working when wiimote is within 10 CM from the IR source). I wonder why this is so? My IR pen was working well under the windows version (johnny lee'sWiimote Multipoint Grid programme) at which time my wiimote was placed several meters away.  I could not get it to compile via xcode (3 errors were produced using Xcode Version 2.4.1), however I did run the .jar from both command line and finder and did not notice a difference. Let me know if i can help in any way. I would love to see this working well.



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #23 on: February 11, 2008, 09:52:09 AM
Hi
i just played around with this on my MBP. Unfortunately the sensing range is very limited (reliably working when wiimote is within 10 CM from the IR source). I wonder why this is so? My IR pen was working well under the windows version (johnny lee'sWiimote Multipoint Grid programme) at which time my wiimote was placed several meters away.

My software is just using the data that it gets from the Wiimote (indirectly through Java Blutetooth library and WiiRemoteJ). It is a strange problem, although I don't think it's related to my software since I just use a very high-level abstraction of the Wiimote (via WiiRemoteJ).
It might be an issue with the MBP's Bluetooth module, another user had a problem with that...

I could not get it to compile via xcode (3 errors were produced using Xcode Version 2.4.1), however I did run the .jar from both command line and finder and did not notice a difference. Let me know if i can help in any way. I would love to see this working well.

I use Eclipse for development and have no experience at all with Java development in XCode.
Did you add the BlueCove and WiiRemoteJ libraries to the Java classpath?

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline alanderouen

  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Reply #24 on: February 12, 2008, 12:58:10 PM
I confirm it working under Leopard.

System version : Mac OS X 10.5.2 (9C31).
Model Id : MacBook1,1
Processor : Intel Core Duo 1.83 GHz.

Activate bluetooth and then double click on the jar file and that's all.  :D

I don't have any video projector yet so i tested on my mackbook 13.3" screen from a short range. Thanks anyway to the dev(s ?). Keep up the good work.

alan



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #25 on: February 12, 2008, 01:17:29 PM
Thanks anyway to the dev(s ?). Keep up the good work.

You're welcome  :)
I'm currently working on an updated version. Details can be found at my site.
It would be great if someone could make an (Mac OS X) icon for the program...


Uwe
« Last Edit: June 20, 2008, 04:19:56 AM by ujs »

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline harpastum

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reply #26 on: February 18, 2008, 03:51:32 AM
It would be great if someone could make an (Mac OS X) icon for the program...

I read this post and decided to give it a shot. I'm not by any means an artist, and I didn't really spend too much time on this, but it's probably better than nothing.









Here's the icns file:

http://d2l.mu.edu/pages/personal/38911/WiimoteWhiteboardIcon.zip


« Last Edit: February 18, 2008, 04:07:50 AM by harpastum »



Offline Desca;zp

  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Reply #27 on: February 18, 2008, 06:10:29 PM
Here's another version of that icon, I added it to a little yellow circle, and put a wiimote in there too.  I'm not completely satisfied, but I don't hate it.

http://pskouson.googlepages.com/WiimoteWhiteboardIcon.icns



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #28 on: February 19, 2008, 11:03:40 PM
I read this post and decided to give it a shot. I'm not by any means an artist, and I didn't really spend too much time on this, but it's probably better than nothing.

Thanks for your effort, but I decided for another icon someone else sent in. But I'm still looking for an "artist" who can make a neat icon ;D

The new version is online! Includes support for right click and selecting another screen. Check it out...


Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline balam

  • *
  • Posts: 58
  • Karma: +1/-1
    • View Profile
Reply #29 on: February 28, 2008, 08:42:16 PM
have a imac 2.2 dual core
and have problems with the ir pen.
some times picks up the signal other not.
but when it picks up the signal
does not work well.  if I make a line the likes are draw few inches away from the ir pen.