B4A

domingo, noviembre 30, 2008

More tips to get graphics inside the image

Some time ago I already talked about this topic. But what happens when the graphics is a bit big and the usual #printString, #fullPrintString, #longPrintString only show the first 5000 chars and ends with "etc..."

We talked about this topic with Jecel on the Squeak IRC and also with Nico Petton, who suggested this way to avoid the "etc..."

The trick is having the string on a text file, and then copy from them. The code that make the job is the following:

viernes, noviembre 14, 2008

How to install latest (development) versions of Aida, Scribo and friends.

Being that we (the developers) usually wants to work with the latest version of the tools we use I wrote a small Installer script to install all the needed components.

The script use Installer, then it should be run (evaluated on a workspace) after having installed a working version of Installer.

To install Installer you can download it from here: http://installer.pbwiki.com/f/Installer.st

The script is:

Transcript open.
Installer installUrl: 'http://mc.bioskop.fr/Sport/Sport-mu.2.mcz'.
Installer installUrl: 'http://www.squeaksource.com/OSProcess/OSProcess-dtl.45.mcz'.
Installer installUrl: 'http://mc.bioskop.fr/Swazoo/Swazoo-np.11.mcz'.
Installer installUrl: 'http://mc.bioskop.fr/Aida/Aida5.6-janko.112.mcz'.
Installer installUrl: 'http://scribo.aidaweb.si/repository/scribo-np.176.mcz'.
Installer installUrl:
'http://scribo.bioskop.fr/repository/scriboshout-np.1.mcz'.
Installer installUrl:
'http://scribo.aidaweb.si/repository/scribopersistence-np.21.mcz'.
Installer installUrl:
'http://scribo.aidaweb.si/repository/scriboplugins-janko.12.mcz'.
Installer installUrl:
'http://scribo.aidaweb.si/repository/scribo-console-gsa.5.mcz'.
"Seems not work from FTP, install at hand"
"Installer installUrl: 'ftp://swikis.ddo.jp/SIXX/squeak/SIXX20071110.sar'."
Installer installUrl: 'http://squeaksource.blueplane.jp/FileMan/FileMan-mu.117.mcz'.

After the installation, you can put your Scribo to run, as follow:

SwazooAida demoStart.

(AIDASite named: 'aidademo') styleClass: #ScriboStyle; blog; wiki.

ScriboConsole new openAViewOnMe.


I tried this script succesfully on a stock Squeak 3.10.2 #7179 image. Of course, you should update the packages versions when they changes. Anyway, the script is here also.

Another useful script (to my style of work at least), to customize the stock image with
some development tools is the next:

Transcript open.
Installer installUrl: 'http://www.squeaksource.com/Installer/Installer-Core-mtf.250.mcz'.
Installer installUrl: 'http://www.squeaksource.com/shout/Shout.3.15-tween.72.mcz'.
Installer installUrl: 'http://www.squeaksource.com/shout/ShoutMonticello.1-tween.2.mcz'.
Installer installUrl: 'http://www.squeaksource.com/RoelTyper/RoelTyper-rw.60.mcz'.
Installer installUrl: 'http://www.squeaksource.com/eCompletion/ECompletion-danieroux.92.mcz'.
Installer installUrl: 'http://www.squeaksource.com/AST/AST-lr.160.mcz'.
Installer installUrl: 'http://www.squeaksource.com/RefactoringEngine/Refactoring-Core-lr.11.mcz'.
Installer installUrl: 'http://www.squeaksource.com/shout/ShoutWorkspace.1-tween.4.mcz'.
Installer installUrl: 'http://www.joeyhagedorn.com/media/downloads/Algernon.1.2.sar'.

It updates Installer and install some tools I usually use to develop.

sábado, noviembre 08, 2008

Albaplata Project first screenshots

As some readers of this blog may know , my company ArSol Software was hired by Igo Software to develop several multimedial units about culture and historic sites of Extremadura state on Spain.

To develop this project, I hired three squeakers from here, Argentina, and I'm really very happy with the results. The team is geographically disperse and I coordinated the work only by Internet, using mostly mail and some chat. Thanks you guys Alejandro, Javier and Francisco by your fantastic work!.

IGO Software provided the graphical, video and audio resources and we built the units (one Squeak application by unit) using the framework FMA, originally developed by Diego Gómez Deck.

Each unit will be available on 3 languages (Spanish, English and Portuguese) and will run on touch screens on different places of the Extremadura state. The target users are the tourists that want to have a quick trip by the historical sites, before doing the real trip.

All this project is yet in development phase, but we want to share thiese first screens of some of the units, until the moment that the Consejería de Cultura de la Junta de Extremadura release the complete applications.














The topics covered by the project are (with the names on spanish, to avoid translations errors):
  • Centro de Interpretación del Ferrocarril en Extremadura
  • Centro de Interpretación de la Ciudad Medieval de Plasencia
  • Centro de Interpretación del Campamento Romano de Cáceres el Viejo
  • Centro de Interpretación de la minería en Extremadura
  • Centro de Interpretación del Circo Romano
  • Centro de Interpretación de los Conjuntos Históricos en Extremadura
  • Centro de Interpretación del Pintor Zurbarán
These units show different sort of games, as trivia and puzzles, that the user must follow, learning lot of details of each topic. A voice help is available on any topic, to help responding.

As usual on the Extremadura projects, all the software is open sourced and is available to download from Squeaksource, under the name Albaplata project.