HOME - WEBDESIGN / IPHONE APP - ALL IN VAIN - PICTURES - FORUM - DEVELOPEMENT - MYSPACE - TWITTER - YOUTUBE - CATEGORIES - Login/Registration - RSS

Countdown bis zum Greenfield 2011:


apple wireless keyboard unboxing and installing


One week ago I bought the Apple Cinema Display 27 Inch and I used my old cabled keyboard from Apple. This keyboard was like 2 years old and the “T” key didn’t work properly :) So I decided to go to the next Apple Store to buy the wireless keyboard.


(weiterlesen…)

An Twitter senden, Geposted von Pädde


sqlite3 umlauts/special character problem


When you are developing an iPhone application, you will most likely have to use an internal database to store your data. I also needed a database for my Facts iPhone application. As the app contains german words, it also contains umlauts and special characters like äöü and all this stuff that is not present in the english language. However, I was not able to support these special characters although I used UTF8 encryption in my application.

To create the database, I used the following commands in terminal:

cd Desktop
mkdir FactsDatabase
cd FactsDatabase
sqlite3 facts.sqlite

Now you will see the sqlite command prompt which only accepts sql commands from now on. This is where I have created my database, and inserted some facts:

// create table
create table facts(id integer primary key, fact text, isFavorite varchar(5), alreadyRead varchar(5));

// fill database with facts
sqlite3 facts.sqlite “INSERT INTO facts(fact, isFavorite, alreadyRead) values(‘Täglich werden 12 Neugeborene den falschen Eltern gegeben.’, ‘no’,'no’);”

Now if you do it like this, the special characters won’t show up in your application. After some hours of trying I tried to use run my sqlite commands in a shell script. I had to rearrange the commands to fit like this:

# drop exising table
sqlite3 facts.sqlite “drop table facts;”

# create database
sqlite3 facts.sqlite “create table facts(id integer primary key, fact text, isFavorite varchar(5), alreadyRead varchar(5));”

# fill database with facts
sqlite3 facts.sqlite “INSERT INTO facts(fact, isFavorite, alreadyRead) values(‘Täglich werden 12 Neugeborene den falschen Eltern gegeben.’, ‘no’,'no’);”

Save it as database.sh and in terminal, give it the rights to execute: chmod+x database.sh, and then run it with ./database.sh
If you do it like this, the special characters are finally in the database and will show up in your application. To be honest, I have no idea why it only works with this workaround. It costed me quite a bit of time. Anyway, hope that helps anyone. If you have questions, use the comment section. Cheers.


An Twitter senden, Geposted von Pädde


all in vain iphone applikation


in Apple,Apps,Bekanntgabe,Code,Computer,Design,Development,iPhone,iPod Touch,XCode @ 13:42 am 26. Februar 2011
Comments: 0

Heute wurde meine 2. iPhone Applikation von Apple frei gegeben. Die Applikation beschäftigt sich mit meiner Band All in Vain. Hier ein kurzer Einblick, was Ihr mit der App so anstellen könnt:

All in Vain ist eine junge, aufstrebende Punkrock/Alternative Band von Luzern (Schweiz). Diese Applikation bietet Zugriff auf alle wichtigen Daten rund um die Band.

Einige der Features im Überblick:

- Alles über All in Vain
- Bandmembers einzeln vorgestellt (Details, Fotos, Equipment, Hobbies, etc).
- Eine Media-Rubrik mit unveröffentlichen Demo Aufnahmen, welche nur mit dieser iPhone App gehört werden können!
- Schau dir Bilder der Band und Ihren Projekten an (inkl. All in Vain Groupie Pics, Demo Session, Rock Night Sursee). Sobald neue Bilder verfügbar sind, werden sie automatisch uf deinem iPhone geladen.
- Normal Display und iPhone 4 Retina Display Support.
- RSS Feed, welcher dir alle Beiträge von www.allinvain.ch auf einen Blick präsentiert. Schüttle dein iPhone oder zieh mit dem Finger über die Tabelle um die Feeds zu aktualisieren.
- Tour/Konzert Übersicht –> somit weisst du immer, wo die nächsten Konzerte stattfinden werden. Nebst Konzertdaten siehst du auf einer Maps Karte direkt, wo sich die Location befindet.
- Direkten Zugriff auf “All in Vain”-Channels wie Facebook, Twitter und Youtube!
- All in Vain Sponsoring Übersicht.
- Ordne die Tab Icons an wie’s dir am Besten passt. Sie können im ‘Mehr’-Menu verändert werden.
- Dank Apples Push Notifications bist du immer auf dem neusten Stand. (Neue Websiten Einträge, neue Tourdaten, Allgemeine Informationen).

Funktionen, die bald kommen werden:
- Werde ein Groupie von der Band oder von einzelnen Mitgliedern.
- Songtexte.

Für diese Applikation braucht es eine Internetverbindung (Bilder, RSS Feeds, Tourdaten, Songs, Verschiedene Channels).

Zum Schluss noch einige Bilder und der Link zur Applikation im iTunes Store:

An Twitter senden, Geposted von Pädde


Xcode Debugger has exited with error code 45


in Anleitung,Computer,Cydia,Development,iPhone,Macbook Pro,XCode @ 16:16 am 14. Februar 2011
Comments: 0

I jailbroke my iPhone some days ago with the GreenPois0n Tool and installed all my stuff. When I was using my iPhone for Developing I found out that the debugger always exited with error status code 45. First I thought it was a problem with my app but then I tried with a non-jailbroken iPhone 3GS and it worked without errors. I debugged the output code and found out that the “PhotoAlbums+” application which gives you the ability to create photo folders crashed all the time. I uninstalled this app from Cydia and now I can continue with development. Just as information if someone has the same problem :)


An Twitter senden, Geposted von Pädde


PunkBuster problem with Battlefield Bad Company 2


in Allgemeines,Anleitung,Computer @ 19:47 am 10. März 2010
Comments: 0

I was never able to play some EA games online because punkbuster always kicked me out. PunkBuster.exe is a small application which kicks players out of the server, if the game was modified. This prevents cheating. But I didn’t modifiy my game and I always got this message: “PunkBuster INIT Failure” – ord “Connection to server lost”. I found a way to fix this:

- First of all, download the latest punkbuster from here

- Make sure that you open the game with administrator privilegues

- Make sure your firewall or antivir doesn’t block the punkbuster service (PnkBstrA (B) whatever)

- Start – Run – Services.msc

- Make sure the process is running. If it is not running you will be kicked out of the server with the message: Punkbuster Init Failure.

- Make sure that your account does have a password (local computer account). This is needed for the next step.

- Right click the service – Preferences – Login – Click on this account instead of local account.

Please note that this screen is made on a german computer. After this you should be able to play your favorite games online again. You have to do this everytime you turned your computer off :(

An Twitter senden, Geposted von Pädde


PL/SQL: How to convert MD5 from Hex to Base64


in Application Server,Code,Computer,Development @ 13:51 am 16. November 2009
Comments: 0

I was working with JBoss 5.1.0GA and I wanted to activate the JBoss MD5 Authentication. The passwords were stored as HEX 16Byte long (32 Hex Characters). When you have a look at the official JBoss User Manual (Chapter 9) you will see that they are using Base64-Encoding. So we had to come up with a short PL/SQL-script to convert the passwords to Base64!

Simply create a PL-SQL Script and add the following code:

[codesyntax lang="plsql"]

set sqlblanklines on;

set serveroutput on;

DECLARE

BEGIN

//read password field as hex-encoded raw data and convert data using base64 encoding

update users set password=utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw(utl_raw.cast_to_varchar2(password))));

END;

[/codesyntax]

Additionally, if you have a unix or linux machine, you can check it in command line:

$ echo -n “j2ee” | openssl dgst -md5 -binary | openssl base64 glcikLhvxq1BwPBZN0EGMQ==

An Twitter senden, Geposted von Pädde


Meine erste iPhone App – Bireweich


Es ist so weit. Am 13. August 2009 ist meine erste iPhone Applikation im Appstore erschienen. Inzwischen habe ich schon das erste Update geschrieben und heute an Apple freigegeben.

Die Applikation kommt mit dem Namen Bireweich. Bireweich ist eine Webcommunity betrieben von Daniel Gerber. Die Applikation vereint die verschiedenen Channels wie Youtube, Twitter, Website etc. Zusätzlich kommt sie mit einem smarten RSS Reader.

Anfangs hat die Applikation 1.10 gekostet, ab dem nächsten Update wird die Applikation gratis zu erwerben sein.

An Twitter senden, Geposted von Pädde


wie man ein iphone icon für die eigene website macht…


Ich habe soeben herausgefunden, was man machen muss, damit das iPhone oder der iPod Touch das kleine Icon erkennt, wenn man ein Bookmark auf dem Homescreen macht.

Designt ein eigenes Icon, welches die Masse 45 x 45 Pixel hat, und nennt es apple-touch-icon.png! Anschliessend ladet ihr dies auf in das Root Verzeichnis eurer Website herauf. Fertig:

apple-touch-icon

Dies ist mein Icon, welches auf den Homescreen soll.

Für Screenshots bitte hier weiter lesen: (weiterlesen…)

An Twitter senden, Geposted von Pädde


meine erste cydia source!


… das ist meine erste Cydia Repo. Nach rund 1000 Tagen und Nächten steht sie endlich. Grundsätzlich habe ich dies Repository aufgesetzt, damit ich mein Winterboard Theme auf einen Server legen kann, um somit von überall darauf Zugriff zu haben.

Bedenkt, die Repo ist immernoch im Teststadium, und sollte von euch noch nicht benutzt werden. Hier schon ein mal ein paar Eindrücke:

neue_doonot_repo

Update 1: So, meine Cydia Repo ist nun einsatzbereit, und die Fehler bei der Installation mit dem DS_Store File wurde gefixt. Über Feedbacks wäre ich dankbar!

Update2: Leider gibt es noch Probleme beim Upgraden, d.h. wenn ich eine neue Version des Themes release. Dies wird heute gefixt.

Update 3 [Montag, 16.02.2009]: Probleme mit dem Upgraden wurden gefixt. Mit den Ringtones gibt es noch Probleme mit den Rechten, weshalb sie nicht abgespielt werden können. Wenn jemand eine Ahnung hat, warum die Rechte bei der Installation geändert werden/auf 0700 gesetzt werden, bitte mit mir Kontakt aufnehmen. Danke!

An Twitter senden, Geposted von Pädde


Macbook Pro 2008


in Allgemeines,Apple,Bekanntgabe,Computer,Macbook Pro @ 21:03 am 1. Februar 2009
Comments: 1

Am 27. März, nachdem ich mit der AFK (Allgemeine Fackkenntnisse Mediamatiker) fertig bin, werden ich und Genc uns einen Macbook Pro 15″ kaufen. Bis dahin sollten wir auch das Geld zusammen haben ;)

An Twitter senden, Geposted von Pädde


Nächste Seite »