Author Topic: Where can I get the source code from?  (Read 5823 times)

Offline OM2

  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
on: November 19, 2008, 07:32:16 PM
I assume Johnny Lee's code is freely available
But JoonBin's isn't?
From what I have read, JoonBin has made some big enhancements from the original?
I'd like to make and add a few alterations.

If I can't get JoonBin's code... can I get Johnny Lee's code + smoothing code and make something as good as JoonBin's?
(I think I've read on JoonBin's website that he got the smoothing code from somewhere else?)

Thanks


OM



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #1 on: November 20, 2008, 04:42:05 AM
Hi OM,

I assume Johnny Lee's code is freely available
But JoonBin's isn't?
From what I have read, JoonBin has made some big enhancements from the original?
I'd like to make and add a few alterations.

If I can't get JoonBin's code... can I get Johnny Lee's code + smoothing code and make something as good as JoonBin's?
(I think I've read on JoonBin's website that he got the smoothing code from somewhere else?)

Johnny's code can be downloaded from his website.

I don't know about Boon Jin's source code, I can just tell you about the smoothing.
It was first suggested by one of my users and then implemented as a simple average of the last few position coordinates.
Boon Jin then adopted that feature for his software.

I've also added an adaptive smoothing method to the latest version of my software. Most users won't notice the difference, but it works much better for slow cursor movements. More details about in the documentation wiki.
My Java source code, which includes smoothing, is freely available at my website.


Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline OM2

  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Reply #2 on: November 21, 2008, 05:20:29 AM
uwe

thanks for the reply
i'll try your application later this afternoon
i previously didn't try your one as i assumed that you would need to have java installed to run
will let you know how i get on

i found one link for joonbin's code: http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard

but as far as i can tell this is version 0.2 - or something

does anyone know if there's a latest version somewhere?



Offline OM2

  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Reply #3 on: November 21, 2008, 01:41:51 PM
uwe

i hadn't looked at before...
but you need to have java installed for your application?
would it be ok to create an executable file so that the application could be given to someone without java?
i thought i'd ask before trying

let me know

thanks



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #4 on: November 22, 2008, 06:32:04 AM
but you need to have java installed for your application?
would it be ok to create an executable file so that the application could be given to someone without java?

Yes, you need Java 5 or later to run my application.
I don't think there is a way to convert it to an executable that can be run without Java.

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline OM2

  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Reply #5 on: November 22, 2008, 07:48:00 AM
thanks for the reply
it's been a long time since i last programmed in java
but... i was sure it was possible to create standalone executable files?

actually... while wriing this reply, i did a google on the subject: you can create an exe with 3rd party applications

this is much more desirable - since the people who i would give the application to would be clueless to everything and all they want is to launch one file - and not do anything else!

do you know if creating an exe with a 3rd party application will cause any problems in anyway?

let me know
thanks



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #6 on: November 23, 2008, 10:23:54 PM
but... i was sure it was possible to create standalone executable files?

actually... while wriing this reply, i did a google on the subject: you can create an exe with 3rd party applications

this is much more desirable - since the people who i would give the application to would be clueless to everything and all they want is to launch one file - and not do anything else!

do you know if creating an exe with a 3rd party application will cause any problems in anyway?

You can create .exe for sure, but most tools that let you do this don't remove the dependency to Java. They just "wrap" the Java .class or .jar files.
There should also be tools that convert Java code or bytecode to machine code or something else. I highly doubt that they'll work for my application since I and some of the libraries use JNI to do OS-specific things.
You're welcome to try to convert the app but I won't look into it.

Uwe


Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline OM2

  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Reply #7 on: November 23, 2008, 05:50:55 PM
uwe

thanks for the reply
i'll definitely will give it one go - won't hurt to try
though from what you say... it won't work...
i'll let you know if i have any luck