TuxDroid Java API - Nouveautés de la 0.4
Le 4 octobre 2007, à 3:44 par ...

It toke me some time but I hope it worth it. This release now supports all TuxDroid features, even those which are not implemented yet (Sleep, ping, etc). Apart from that, the API now comes with a new TuxManager, a widgets based graphical application.

Core API

This is mainly a reverse ingeneered version of the very clear Python API reworked to fit Java standards.

  • All TuxDroid features (motors, captors, speech, sound, system, etc..) are supported.
  • Mostly all useful status are accessible by a getXXX() and by events (classical swing system, on event, multiple listeners). To follow the daemon philosophy, getting a status is giving you the value but also generate associated event to listeners.
  • I rewrote the protocol engine that should be fully thread-safe now, even with re-entrance (getting a status that generate an event that is getting the same status Wink
  • Lost Connection recognition and automatic reconnection.
  • Building process is using Maven. There is now a specific maven repository for all libraries so everything can be build from source very easily (just untar & maven compile)
  • JavaDoc is included with sources. It's covering about 80% of core API.

TuxManager

A Swing application that can be seen as the merge of Python Gadget Manager and tuxgi

  • Core UI simply contains a Tuxlet selector, a traces output and a status bar for all important states (AC, RF, TTS, Tuxd, etc..)
  • All other features are wrapped in a plugin (tuxlets) system.
  • Tuxlet framework is included in the API).

Tuxlets

For testing purpose, 3 "tuxlets" (gadgets) are included.

  • "Movement Tuxlet" : basically the same as tuxgi first pane.
  • "Configuration Tuxlet" : speech test and voice selection, sounds test and management, information pane juste showing all Tux components versions.
  • "Insight Tuxlet" : just a joke to demonstrate light sensor.

More tuxlets will come later. I already wrote RSS reader, Clock and Weather. They just need a proper configuration panel

That's it for now. Just to finish a big thank you to Sonny ( http://geekrc1.free.fr ) who kindly accepted to test the beast and found nice bugs Wink

Commentaires

Répondre

Le contenu de ce champ est gardé secret et ne sera pas montré publiquement.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • To highlight piece of code, just surround them with <code type="language"> Your code &tl;/code>>. Language can be java,c++,bash,etc... Everything Geshi support.
  • Les lignes et les paragraphes vont à la ligne automatiquement.
  • Textual smileys will be replaced with graphical ones.
  • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.

Plus d'informations sur les options de formatage

Connexion utilisateur
Les derniers bavardages...