Quantcast
Channel: Strg+Shift+R
Browsing all 50 articles
Browse latest View live

Android Programming Rules

Ich hab heute ein paar interessante Sachen gelesen, die man bei der Android Programmierung beachten sollte, um so viel Performance wie möglich zu gewährleisten:1. So selten wie möglich speicher...

View Article


Mehrere Activities in einer Anwendung nutzen

Da ich kein kurzes Tutorial gefunden habe, das beschreibt, wie man mehrere Activities in einer Anwendung nutzen kann, ist hier mal eins:Wenn das eigene Programm mehr als nur eine View besitzt ist es...

View Article


Image may be NSFW.
Clik here to view.

Tutorial: Google Code mit Mercurial synchronisieren

So da ich grad eben mal Google Code ausprobiert habe und nirgendwo Informationen gefunden habe, wie man das ganze macht, hier eine kurze Anleitung:1. Bei Google Code ein neues Projekt...

View Article

Image may be NSFW.
Clik here to view.

Android GUI Designer

With this tool you can create android gui's easily and very fast. You write code like this:Window "Demo"SeperatorLine 1One-Column-List +color=orangeLabel "Login Screen" +color=white...

View Article

How to use oAW

Die Grundlagen über oAW kann man hier erlernen:http://andrdev-emf-gui-designer.googlecode.com/files/Seminararbeit.pdfScreencasts:1. DSL entwerfen:2. Generierten editor verwenden:3. Xpand verwenden um...

View Article


Design Patterns: Command Processor

Um Design Pattern schnell zu verstehen, sind meiner Meinung nach kurze Implementierungsbeispiele an hilfreichsten und interessantesten:Der Command Processor dient zur Aktionsverwaltung und ist in der...

View Article

Design Patterns: Factory und Singelton

Das Factory Pattern dient zur zentralen Objekterzeugung und sollte eigentlich immer verwendet werden. Von der Idee her ist es sehr einfach, bei der Umsetzung muss jedoch auf ein paar Details geachtet...

View Article

Read this: "SRP, as easy as 123…"

I recommend everyone to read this realy good and important article!

View Article


Design Patterns: Adapter

Das Adapter Muster dient zur Anpassung von Schnittstellen und umkapselt dazu die anzupassende Klassen, um sie dadurch zum Beispiel als Subklasse verwenden zu können.Ein Beispiel:Horse h = new...

View Article


DesignPatterns: Observer

Um Änderungen in Objekten möglichst flexibel anderen Objekten mitteilen zu können, wird meistens das Observer Muster verwendet. Die beiden entscheidenen Klassen sind die Observable Klasse und das...

View Article

Eduroam unter Android (RWTH Version)

Ab und zu muss man es neu einrichten und jedes mal frage ich mich, wie war noch mal die Geheimformel, damits läuft. Hier ist sie:EAP: PEAPPhase2: MSCHAP2CA: n/aClient: n/aPrivate key password:...

View Article

How to get rid of "instanceof"

Ok here is the scenario. We get an object x which can be from TypeA, TypeB or whatever. Depending on the classtype of x we want to do different things:this.makeThings(x);..void makeTings(Object x){ if...

View Article

German or English

Sorry for switching so often from German to English and back again. For all the people who do not understand German, user Google Translate or take a German language course;)There are still some...

View Article


I want to create fully operative Android UIs in 5 minutes..

Lets put it this way, i really hate GUI design! I hate it that it does not work from the beginning on and you have to check again and again if the GUI looks at least not like crap. It takes really long...

View Article

How to avoid dependencies in a library

When providing a library like a parser for location-based information one of the most important points is to not create any kind of dependency into the application which later uses the library.But what...

View Article


Simple Random Name Generator for Java

Today i needed a name generator so i wrote one myself (i didn't like the existing ones i found via Google;). Here is the test code i used:NameGenerator gen = new NameGenerator();for (int i = 0; i <...

View Article

Why You’re a Bad Programmer

Pleeeease people read and take more heed of blog-posts like this one:http://net.tutsplus.com/tutorials/php/why-youre-a-bad-php-programmer/Everything in there applies to every programming language, not...

View Article


How to create algorithms which are independent from the used datastructure

Normally if you want to use an existing algorithm found in the internet you have to adapt it so that it works on your object structure. But if the algorithm is written properly you don't have to! So...

View Article

Image may be NSFW.
Clik here to view.

Utopia - My first computer game

Here is an awesome piece of code from my time in school (i think it was 2002 when i was in the 9 grade), it's a Sim City clone called Utopia and was written in QBasic. I think it was the first "big"...

View Article

Image may be NSFW.
Clik here to view.

Terra

Here is another game I found on one of my old disks. Terra, a multiplayer strategy game I created in 2006 for my computer-science course in school. Try it if you want and i will also provide the source...

View Article
Browsing all 50 articles
Browse latest View live