WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WiiRemoteJ v1.0 Released!
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiLi General Discussion
View previous topic :: View next topic  
Author Message
adn



Joined: 03 Jul 2007
Posts: 2

Digg It
PostPosted: Tue Jul 03, 2007 1:01 pm    Post subject:

Hi,

first of all, well done for your great work!
I've just a little probleme when i tried to run your example:

java.lang.IllegalStateException: Bluetooth failed to initialize. There is probably a problem with your local Bluetooth stack or API.
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:57)
at WRLImpl.main(WRLImpl.java:41)
Caused by: javax.bluetooth.BluetoothStateException: java.lang.NoClassDefFoundError: com/sun/kvem/jsr082/bluetooth/DiscoveryAgentImpl
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:100)
at wiiremotej.WiiRemoteJ.<clinit>(WiiRemoteJ.java:49)

I was thinking about the javax.blootooth api, so i just installed the wireless toolkit from sun (it uncludes the jsr 82) , but i've this error anyway.

I use a dongle on my laptop, with bluesoleil apps to catch de wiimote signal.

Any idéas?

Thanks


EDIT:

Well i just take a look into the api jsr 082 and actually i've the DisoceryAgent.class but not the DiscoveryAgentImpl :s ?!

Which api is the best one to use with your's?

Thx again.
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Tue Jul 03, 2007 4:38 pm    Post subject:

Avetana is the best. The Wireless Toolkit from Sun is just the classes (so you can compile). It isn't actually an implementation. In other words, the thing from Sun doesn't actually do anything. Avetana is probably the best solution (you can find them through Google. Smile ).
_________________
Cha0s
Back to top
View user's profile Send private message
adn



Joined: 03 Jul 2007
Posts: 2

Digg It
PostPosted: Tue Jul 03, 2007 5:30 pm    Post subject:

Thx for response, i'll see for that one .


A++
Back to top
View user's profile Send private message
codebudo



Joined: 14 Jul 2007
Posts: 2

Digg It
PostPosted: Sat Jul 14, 2007 9:35 pm    Post subject: JBlueZ

The JBlueZ project tried to create a Bluetooth API for java, but the project eventually died when the company funding it went under. It's really just a JNI wrapper around the Linux BlueZ API, and could probably be completed with just a few weeks solid work.

I worked on JBlueZ for a little while myself fixing bugs and extending it to suit my needs. I've moved on to other things but if anyone wants to pick up where I left off, send me a message and I'll link you to the code. (I don't yet have permissions to post links in posts)

Ideally, this should conform to the sun wireless toolkit interfaces. Anyone up for the task?
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 493

Digg It
PostPosted: Sat Jul 14, 2007 9:38 pm    Post subject:

Well, for Linux, avetana is open source. So if someone just compiled that and put up a binary, that'd be great (there've been issues compiling). For Mac OS X, we need to work with Apple's library which I've looked into. I'm not quite ready for that, though. For Windows, I'm talking to something. I think we're going to make an implementation for the WIDCOMM stack, but not promises yet. Smile
_________________
Cha0s
Back to top
View user's profile Send private message
codebudo



Joined: 14 Jul 2007
Posts: 2

Digg It
PostPosted: Sun Jul 15, 2007 11:00 pm    Post subject:

From avetana website:
Quote:
To register for our free demo license, that can later be extended to an unlimited version, please follow this link.
This demo license is for Windows, Linux und MacOS X and expires after 14 days.


Where have you found an open source version of avetana?
Back to top
View user's profile Send private message
Amablue



Joined: 13 Dec 2006
Posts: 95
Location: California

Digg It
PostPosted: Mon Jul 16, 2007 6:59 am    Post subject:

codebudo wrote:
Where have you found an open source version of avetana?


http://sourceforge.net/projects/avetanabt/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiLi General Discussion All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group