TeachMe

TeachMe Free App

Rated 5.00/5 (1) —  Free Android application by Michel Daamen

Advertisements

About TeachMe

Was muss man über das Mainboard eines PC wissen, wenn man etwas umbauen will?

In dieser Anwendung wird ein Mainboard mit seinen wichtigsten Bestandteilen multimedial erklärt.

Wenn man das Bild an einer bestimmten Stelle berührt, werden zu der entsprechenden Komponente Erklärungen abgegeben. Die Anwendung spricht die Erklärung, zeigt einen kleinen Text und wechselt eventuell in eine andere Ansicht.

Klickt man auf das Symbol oben links (oder auf den Menu Knopf), dann erscheint ein Menu. Es erlaubt Einstellungen, das nachladen von Systemen auf die SD Karte und den Start von Systemen von der SD Karte.

Diese Anwendung wurde im zweiten Halbjahr 2013 am Berufskolleg der Stadt Bottrop von den Schülern der Klasse 2i11a (Informationstechnische Assistenten in der Mittelstufe) im Unterricht entwickelt.

Das Konzept dieser Anwendung ist sehr flexibel und kann über Farben auf einem verborgenen Hintergrundbild ein Programm ausführen. Die Aktionsdatei, die Bilder und die Audiodateien sind auf der SD Karte abgelegt. Eigene Systeme sind möglich!

Die Bilder müsen als XX_front.jpg und XX_back.bmp abgelegt werden. XX bezeichnet hier den Namen des Bildes. Die Bilder werden automatisch gestreckt! Das _front.jpg sollte eine Auflösung von 800x480 Punkten haben. Es handelt sich hier um das sichtbare Bild.
Das _back.bmp muss als 24Bit bmp abgespeichert werden. Als Auflösung empfehle ich 200 x 120 Punkte. Klickt der Anwender auf das Bild, ermittelt das Programm die Farbe des Punktes im _back.bmp und führt den Abschnitt in der Aktionsdatei aus, der diesem Farbwert entspricht (Beispiel Rotwert 1, Grünwert 0 und Blauwert 0 führt die Aktionen unter @r1g0b0 aus).

Die Aktionsdatei nennt sich immer "desc.txt" und sollte immer wenigstens die Bereiche @start (wird automatisch einmal am Anfang ausgeführt) und @end (letzte Zeile die nie ausgeführt wird) enthalten. Es kann Bereiche @rXgYbZ enthalten, und es kann einen @default Bereich enthalten, der ausgeführt wird wenn die entsprechende Farbe nicht gefunden wurde.

Das eingebettete Jasic, das für die Aktionen verwendet wird, ist ein einfacher BASIC Dialekt. Er kennt Variablen die mit Text oder Fließpunktzahlen belegt werden können. Bei Fließpunktzahlen kennt er die Operatoren + - = * / > und <. Bei Texten + > < und = (Vergleich).

Syntax:

VARIABLE = VARIABLE2 + 2 * 3 / 4
Zuweisung. Zu beachten ist hier, dass er immer das Format am ersten (links) Objekt hinter dem "=" bestimmt. Obiger Ausdruck entspricht wenn VARIABLE2 eine Zahl ist (((VARIABLE2 + 2) * 3) / 4)!
Eine besondere Variable ist "random", die einen Zufallswert zwischen 0 und 1.0 ergibt.

goto LABEL
Springe zu einer bestimmten Stelle im aktuell ausgeführten Bereich.

LABEL:
Markiere eine Stelle für Sprünge. Wichtig ist der ":" am Ende

if VERGLEICH then LABEL
Springt zur Markierung wenn der Vergleich zutrifft

path
Verändert den Ort an dem das System die Daten (auch desc.txt!) sucht.

debug 1
Schaltet das debugging ein oder aus (0).

print "Ausgabe " + VARIABLE
Gibt das Ergebnis der Berechnung im Debugbereich aus.

text "Hallo Welt " + random
Gibt das Ergebnis der Berechnung für kurze Zeit auf dem Bildschirm aus.

sound "richtig.mp3"
Gibt die Audiodatei richtig.mp3 aus.

picture "neu"
Läd das Bild "neu_front.jpg" für die Anzeige und "neu_back.bmp" für den Hintergrund. Damit kann also die Oberfläche geändert werden.

Hier ein kleines Beispiel für ein desc.txt (Auszug aus Mainboard):
@start
print "Mainboard"
text "Das Mainboard ist die Zentrale des Rechners und verbindet alle Teile."
picture "./mainboard"
sound "./mainboard.mp3"

@r10g0b0
print "CPU Sockel"
text "Die CPU ist das Herz des Mainboards. Sie hat einen eigenen Lüfter."
picture "./cpu"
sound "./cpu.mp3"

@default
countr = countr + random
counti = counti + 1
count = 10
top:
if count = 0 then end
print "Hello, world!"
count = count - 1
goto top
end:
text "Es wurde " + counti + " mal gedrückt. Zufall " + countr + " Schleife " + count
sound "./mainboard.mp3"

@description
Das Mainboard

@ende What you need to know about the motherboard of a PC if you want to convert something?

In this application, a motherboard with its main ingredients is explained using multimedia.

When you touch the screen at a certain point, declarations are made to the appropriate component. The application says the statement shows a small text changes and possibly in a different view.

Clicking on the icon in the upper left (or the Menu button), then display a menu. It allows settings, the reload of systems to the SD card and launch systems of the SD card.

This application was developed in the classroom during the second half of 2013 on vocational college, Bottrop by the students of class 2i11a (Information Technical Assistant in middle school).

The concept of this application is very flexible and can be hidden colors on a background image to run a program. The action file, the images and the audio files are stored on the SD card. Own systems are possible!

The pictures Müsen as XX_front.jpg and XX_back.bmp be stored. XX is the name of the image here. The images are automatically stretched! The _front.jpg should have a resolution of 800x480 points. This is to the visible image.
The _back.bmp must be saved as a 24 bit bmp. As I recommend resolution of 200 x 120 points. If the user clicks on the image, the program determines the color of the point in _back.bmp and leads the section in the Action file that matches this color value (example red value 1, Green value 0, and blue value of 0 performs the actions at @ r1g0b0 off).

The action file always called "desc.txt" and should always be at least the fields @ start (automatically executed once at the beginning) and @ end (the last line is never executed) included. It may contain regions rXgYbZ @, @ default, and may contain a region which is executed when the corresponding color is not found.

The embedded Jasic used for the actions is a simple BASIC language. He knows variables which can be assigned with text or floating point numbers. For floating-point numbers, he knows the operators + - * / => and <. For texts +>
Syntax:

VARIABLE = variable2 + 2 * 3/4
Assignment. Note here is that he is always after the "=" object determines the format of the first (left). The above expression is equivalent to when a number is Variable2 (((Tag 2 + 2) * 3) / 4)!
A special variable is "random", which is a random value between 0 and 1.0.

goto LABEL
Jump to a specific point in the currently executing area.

LABEL:
Mark a place for jumps. Important is the ":" at the end

if then RATES LABEL
Jumps to label if the comparison is true

path
Changed the location at which the system data (also desc.txt!) Searches.

debug 1
Turns debugging on or off (0).

print "output" + VARIABLE
Returns the result of the calculation in the debug area.

text "hello world" + random
Returns the result of the calculation for a short time on the screen.

sound "richtig.mp3"
Specifies the audio file from richtig.mp3.

picture "new"
Loads the image "neu_front.jpg" for the display and "neu_back.bmp" for the background. By doing so the surface can be changed.

Here's an example of a desc.txt (Excerpt from main board):
@ Start
print "motherboard"
text "The motherboard is the center of the computer and connects all the parts."
picture ". / mainboard"
sound "./mainboard.mp3"

@ R10g0b0
print "CPU socket"
text "The CPU is the heart of the mainboard. It has its own cooling fan."
picture ". / cpu"
sound "./cpu.mp3"

@ Default
countr = countr + random
counti = counti +1
count = 10
top:
if count = 0 then end
print "Hello, world!"
count = count - 1
goto top
end:
text "It has" + counti + "times Gedra's Something. random" + + countr "loop" + count
sound "./mainboard.mp3"

@ Description
The motherboard

@ End

How to Download / Install

Download and install TeachMe version 1.1.2 on your Android device!
Downloaded 50+ times, content rating: Everyone
Android package: de.berufskollegbottrop.teachme, download TeachMe.apk

All Application Badges

Free
downl.
Android
2.1+
For everyone
Android app

App History & Updates

What's Changed
Herunterladen von Systemen aus dem Internet oder von Webservern im LAN ist nun möglich!
Eventuelle Fehler ab Android 4.1 wurden ausgebessert.
Einstellungen für das Debugen, abschalten von Text und Sound.
Beispiel Liste.txt für den Download (Dateine und deren Ort für den Download):
#Das ist eine Simple Anwendung fuer TeachMe die aus einer URL geladen wurde.
#PATH simple
11_13_back.bmp;http://192.168.0.77:8000/android/simple/
... u.s.w. ...
desc.txt;http://192.168.0.77:8000/android/simple/
More downloads  TeachMe reached 50 - 100 downloads

Oh snap! No comments are available for TeachMe at the moment. Be the first to leave one!

Share The Word!


Rating Distribution

RATING
5.05
1 users

5

4

3

2

1