<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tojio Lab &#187; Java</title>
	<atom:link href="http://lab.tojio.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.tojio.com</link>
	<description>"Tojio Labs is the place where little useful insights (and unimportant ones) from our everyday work as an interactive agency found their home."</description>
	<lastBuildDate>Fri, 14 May 2010 10:50:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Open source WiiFlash 0.4 Server (written in Java) for Mac OS X [en]</title>
		<link>http://lab.tojio.com/2008/04/14/open-source-wiiflash-04-server-written-in-java-for-mac-os-x/</link>
		<comments>http://lab.tojio.com/2008/04/14/open-source-wiiflash-04-server-written-in-java-for-mac-os-x/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 13:34:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[WiiFlash]]></category>

		<guid isPermaLink="false">http://lab.tojio.com/2008/04/14/open-source-wiiflash-04-server-written-in-java-for-mac-os-x/</guid>
		<description><![CDATA[WiiFlashServerJ is a Java application built on top of the great WiiremoteJ library by Michael Diamond which also uses the Bluecove library. WiiFlashServerJ sends and receives data from the Wiimote via WiiremoteJ. The data is transformed to a byte array in a way the WiiFlash library can handle it. In the current version all data [...]]]></description>
			<content:encoded><![CDATA[<p>WiiFlashServerJ is a Java application built on top of the great WiiremoteJ library by Michael Diamond which also uses the Bluecove library.  WiiFlashServerJ sends and receives data from the Wiimote via WiiremoteJ. The data is transformed to a byte array in a way the WiiFlash library can handle it.</p>
<p>In the current version all data from a Wiiremote can be sent (button states, battery level, the acceleration axes, 4 IR points and sizes and data from the Nunchuck extension). Data sent from the Classic Controller extension has not been tested yet and can be considered &#8216;guessplimented&#8217;. Its possible to activate the vibrating and LEDs as well as activate the Mouse mode by WiiFlash now. If an error occurs while connecting the Wiimote is disconnected again.</p>
<p><strong>Note</strong><br />
The software should be considered experimental. There is no guarantee the data sent by WiiFlashServerJ is exactly the same as by the Windows version provided by WiiFlash. WiiFlashServerJ was coded on lazy weekends and  without insight into the interna of the official (Windows) version.</p>
<p><strong>Download</strong><br />
<a title="WiiFlash Server 0.4.1a" href="http://lab.tojio.com/projects/wiiflashserverj/WiiFlashServerJ_2008_06_30.zip">WiiFlashServerJ</a> (Alpha version, 30 Jun. 2008)<br />
<a title="WiiFlash Server 0.4b" href="http://lab.tojio.com/projects/wiiflashserverj/WiiFlashServerJ_2008_04_24.zip">WiiFlashServerJ</a> (Alpha version, 24 Apr. 2008)<br />
<a title="WiiFlash Server 0.4a" href="http://lab.tojio.com/projects/wiiflashserverj/WiiFlashServerJ_2008_04_14.zip">WiiFlashServerJ</a> (Alpha version, 14 Apr. 2008)</p>
<p><strong>Examples</strong><br />
You can find some simple examples making use of the WiiFlash library in combination with e.g. Papervision <a title="WiiFlash Examples" href="http://lab.tojio.com/2008/05/05/wiiflash-interactive-ribbons-and-some-other-wiiflash-examples/">here</a>.</p>
<p><strong>Known Issues</strong><br />
- Sometimes Wiiremote is not properly connected and in that case does not send data (properly)</p>
<p>- Sometimes its not possible to activate the LEDs, or rumble function</p>
<p>- If Nunchuck extension is plugged in, the IR point size does not change.</p>
<p>- Point size, battery level and perhaps some other data (extensions?) are sent, but values could differ from what the windows server sends. (Feedback would be great&#8230;)</p>
<p>- Battery level is just read once, when connecting or extensions are connected / disconnected. Working on that one&#8230;</p>
<p>- Button states and IR start playing random. In this case you are probably using an older version of the WiiFlash API.<br />
(Since the first release of WiiFlash 0.4 there have been small, but important changes:  In &#8220;Wiimote.as&#8221; -&gt; &#8220;function update&#8221; -&gt; pack.position = 36 has been changed to 37 and in WiiSocket.as you will find a &#8220;I80&#8243; in the newer version. So make sure you have the newer version of <a href="http://wiiflash.googlecode.com/files/WiiFlash%200.4%20pre-release.zip" target="_blank">WiiFlash 0.4</a>. or even better <a href="http://wiiflash.bytearray.org/?page_id=50" target="_blank">WiiFlash 0.4.1</a>)</p>
<p>- Nunchuck does not send data. This sometimes happens, just restart WiiFlashServerJ</p>
<p>- Classic Controller has not been tested yet</p>
<p><strong>Used libraries and software</strong><br />
Java Wiiremote library: <a title="WiiremoteJ" href="http://www.wiili.org/WiiremoteJ" target="_blank"> WiiremoteJ</a><br />
Java Bluetooth library: <a href="http://bluecove.sourceforge.net/" target="_blank">Bluecove</a><br />
Flash Wiiremote library <a href="http://wiiflash.org/" target="_blank">WiiFlash</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.tojio.com/2008/04/14/open-source-wiiflash-04-server-written-in-java-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Formal Language Tool [de]</title>
		<link>http://lab.tojio.com/2007/10/09/formal-language-tool/</link>
		<comments>http://lab.tojio.com/2007/10/09/formal-language-tool/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 08:50:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://lab.tojio.com/2007/10/09/formal-language-tool/</guid>
		<description><![CDATA[Das Formal Language Tool (benötigt Java WebStart) bietet eine Benutzeroberfläche zum visuellen Erstellen endlicher Automaten für reguläre Sprachen. Was bedeutet das? Wenn wir etwa auf einem Mobiltelefon eine SMS verfassen und das Gerät versucht, das angefangene Wort zu vervollständigen, kommt ein sog. endlicher Automat (manchmal auch &#8216;Netzwerk&#8217; genannt) zum Einsatz. Angenommen, wir haben ein &#8216;M&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Das <a title="Formal Language Tool - Tojio GmbH" href="http://lab.tojio.com/wp-content/uploads/2007/10/flt.jnlp">Formal Language Tool (benötigt Java WebStart) </a>bietet eine Benutzeroberfläche zum visuellen Erstellen endlicher Automaten für reguläre Sprachen.<br />
Was bedeutet das? Wenn wir etwa auf einem Mobiltelefon eine SMS verfassen und das Gerät versucht, das angefangene Wort zu vervollständigen, kommt ein sog. endlicher Automat (manchmal auch &#8216;Netzwerk&#8217; genannt) zum Einsatz. Angenommen, wir haben ein &#8216;M&#8217; eingetippt, dann gibt es zu diesem Zeitpunkt im Netzwerk unten folgende Möglichkeiten, wie das Wort weitergehen kann: [M]ontag(e), [M]ontur, [M]oment, [M]ama, [M]artin:</p>
<p><img src="http://lab.tojio.com/wp-content/uploads/2007/10/screen-rl01.png" alt="Beispielnetzwerk, Eingabe: M" /></p>
<p>Je weiter die Eingabe vervollständigt wird, desto weniger Möglichkeiten bleiben natürlich offen: nach der Eingabe &#8216;Mo&#8217; wären die möglichen Wörter, die automatisch vervollständigt werden können: [Mo]ntag(e), [Mo]ntur und [Mo]ment:</p>
<p><img src="http://lab.tojio.com/wp-content/uploads/2007/10/screen-rl02.png" alt="Beispielnetzwerk, Eingabe: Mo" /></p>
<p>Die Kreise mit den doppelten Linien sind so genannte &#8216;Endzustände&#8217; – in unserem Fall repräsentieren sie und die Wege zu ihnen diejenigen Wörter, die das Mobiltelefon bei der Eingabe von selbst komplettieren kann.</p>
<p>Das Prinzip endlicher Automaten stellt eine sehr effiziente Möglichkeit dar, Aufgaben wie die oben beschriebene zu erledigen. Über die Komplettierung von Wörtern (das <em>Erzeugen</em> einer Sprache) hinaus können solche Automaten auch in der anderen Richtung benutzt werden: sie können Sprachen erkennen bzw. entscheiden, ob eine Eingabe korrekt ist.</p>
<p>Der folgende Automat beispielsweise prüft einfache Formeln der Aussagenlogik. Als korrekt akzeptiert er dabei [a UND b],  [NICHT c] sowie [b ODER c]<br />
<a title="Formal Language Tool - screenshot" href="http://lab.tojio.com/wp-content/uploads/2007/10/flt.jnlp"><img src="http://lab.tojio.com/wp-content/uploads/2007/10/screen-al.png" alt="Formal Language Tool - screenshot" /></a></p>
<p>Sie können hier das Formal Language Tool <a title="Formal Language Tool - Tojio GmbH" href="http://">als Java WebStart Application starten&#8230;</a></p>
<p><span id="more-6"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.tojio.com/2007/10/09/formal-language-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
