Friday, September 12, 2014

Got a Broken Smartphone? Repair it at Best Price

I recently dropped my iPhone 5S and the screen broke. It was still usable, but it really bothered me. So I went off to the Internet to find a local repair shop. While doing so I found that there are actually online stores that allow you to send in your phone and get it shipped back to you once it is repaired, without the hustle to actually go to a brick and mortar store. Bonus is most of those send in phone repairs shops are cheaper than the local vendors. You can even get a free diagnosis from most of the shops first, before committing to anything.

After some more research I found a really helpful portal called They have a overview for virtual all current phone models (iPhone and Android, e.g. Samsung, HTC, Nokia, LG etc.) with price comparison and history of price development of multiple online phone repair shops.

Additionally they have a free database of local repair shops, in case you rather go straight to a store. My phone is working again and I know what to do next time around. Any repair shop is free to sign up for their store and location.

Tuesday, December 11, 2012 - Buy and Sell to Friends via Facebook

I am involved in a cool project that just launched - FleamarkAd is a classified Ads platform that completely integrates with Facebook. To signup and post ads you only need a Facebook account. Through your settings you have the option to share the Ad to only certain friends on Facebook, to a certain Facebook group or as well to everybody on the Internet.

Going through Facebook with your account and exposing certain offers only to certain people adds a certain trust to your products. On the other hand you know exactly who you are dealing with when selling or buying. Right now until January 31st 2013 there is contest to win one of two iPhone 5 for people that join or like the app. Additionally there is a cool feature that allows you to print your ads so that you can put them up on boards in your School etc.

Friday, November 4, 2011

Blackberry JDE: Validate Email Address With Regex

There is no build in solution in the Blackberry JDE to validate an Email address. A common approach would be to use regular expressions with a Pattern Match approach.

Unfortunately the Pattern and Match classes are also missing in the JDE.

There is a third party Regex project for Java ME called Regexp-me.
Check out the source files and integrate them into your Blackberry Java project.

Below example describes how to utilise the RE class.

public static boolean validateEmail(String email) {
     if(email.length() == 0) {
         return false;

     String pttn = "^\\D.+@.+\\.[a-z]+";
     RE regex = new RE(pttn);
     if(regex.match(email)) {
         return true;

     return false;

That's it. Let me know if you have any problems with the instructions.

Tuesday, October 25, 2011

Free Joomla 1.6+ Amazon Component

Recently I wanted to integrate Amazon products as ads on my Joomla 1.6 Website. After hours of testing and research I decided to go with the free FSR Amazon Component for Joomla 1.6+.

With help of the component you can utilize the Amazon Web Service (AWS) to integrate Amazon product ads with your Joomla CMS 1.6 or 1.7.
The component comes with an easy to use backend part that allows you to integrate single products or product groups.

Below a feature list of the fsramazon Component:

  • AWS configuratiton

  • Partnernet (Amazon Advertising) Konfiguration

  • Farb-Konfiguration

  • Produktdetail Konfiguration

  • Erstellung von Seo optimierten Seiten

Below the description of the official Website:

fsramazon - free joomla amazon component (plugin/module)

Fsr Amazon is a component which can be used with the content management system (cms) joomla. With the help of this component products of amazon platforms can be integrated into joomla pages via amazon web service (» aws) and amazons » product advertising API. Not only displaying products in index and item (detail) pages is implemented, but also amazons affiliate program can be used in Fsr Amazon component to earn money.

Thursday, October 20, 2011

Blackberry JDE: Eclipse I/O Error: Cannot run program "jar": CreateProcess error=2

The Problem

At one point when I've created a new Screen in my Blackberry JDE Eclipse project I received an error:

Eclipse I/O Error: Cannot run program "jar": CreateProcess error=2

I searched the Internet for solutions and several people stated that this happend for them after the exceeded a certain number of files in their project. After trying different things I found the below solution working for me.

The Solution

The easiest fix for this error is to copy the jar.exe from the Java JDK binary folder to JRE binary folder.

The files is normally under:
C:\Program Files (x86)\Java\jdk1.6.0_27\bin\jar.exe

The version number can be different. But since Blackberry JDE only runs under 32 bit Java/Eclipse is has to be the Java version in the (x86) Program Folder.

Paste the file into:
C:\Program Files (x86)\Java\jre6\bin\jar.exe

That's it.

Tuesday, August 9, 2011

Xcode4: CSV Parser for iPhone/iPad iOS


I had to dig a while to find a Objective C CSV Parser I like and that has decent performance on a mobile device. One problem is that most of those parsers are originally written for Mac OS and they are not all easily transferable.

The cCSVParse from Michael Stapelberg is one of those lightweight CSV parsers. Since the website is entirely in German I will write a little summary and provide example for the English speakers on the Web.


1. Download the library

Either clone the project from Git.

Or download the archive from the CSV Parser Project Homepage. Scroll down to "Herunterladen" and click the link.

2. Copy the files in your project

Copy the parseCSV.h and parseCSV.m into your project. Make sure you have checked the copy function in Xcode.

3. Change the library for iOS use

Open the parseCSV.h and replace:

#import <Cocoa/Cocoa.h>


#import <UIKit/UIKit.h>

Example of how to use the CSV Parser

#import "parseCSV.h"


- (void)parseMyCSVFile{

     CSVParser *parser = [CSVParser new];
     //get the path to the file in your xcode project's resource path 
     NSString *csvFilePath = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"csv"];
     [parser openFile:csvFilePath];

     NSMutableArray *csvContent = [parser parseFile];
     for (int i = 0; i < [csvContent count]; i++) {
	NSLog(@"content of line %d: %@", i, [csvContent objectAtIndex:i]);
     [parser closeFile];

Wednesday, July 13, 2011

Xcode 4: Fatal: Not a git repository


Recently I created a new project and at some point I uploaded it to SVN. I am not quite sure how to reproduce this situation but somehow the versioning support of Xcode 4 decided to interpret the project as a git repository.

Each time I tried to copy a file per drag and drop into my project I got following error:
fatal: Not a git repository (or any of the parent directories): .git

The result was that the file got copied into the project folder, but the reference didn't get set in the project. I had to go into the folder and drag and drop the file again and uncheck the copy option this time, so that the reference gets set.

The Solution

1. Open Xcode and go to Window > Organizer
2. Find under repositories your project. It might be two entries if you use something like SVN.
3. Make sure it says "Type Git"
4. Mark the repository entry and hit backspace or delete (on mac)
5. Done