Hi, my name is Timo Ernst and I am a web expert.

A Framework7 template with TypeScript, AngularJS, SASS and Grunt

Posted on: April 1st, 2015 by Timo

I am a big fanboy of Framework7, strict typing and MVC, so I tried to combine Framework7 with TypeScript and Angular with a flavor of SASS boiled on top of Grunt. The result is this ready-to-use template: Check on Github

How to build

  • No complicated bower or yeoman stuff. Just download and copy to a folder.
  • Then, call grunt compile to compile and copy everything from /src to /build. Default task for grunt is “watch”.
  • Make sure you have Node, grunt, gem and compass installed.

Let me know if you have any feature requests for the template.


hcal: An iOS inspired HTML-based calendar

Posted on: March 26th, 2015 by Timo

I’ve been looking for a calendar component created with web standards but couldn’t find any, so I created my own.

Say hello to hcal.

Hcal ist a HTML5 calendar widget inspired by iOS. This HTML component looks pretty similar to the native calendar app of iOS. It’s dead simple to use, small in file size (under 5kb) and scales to any window/screen size.

Check it out on GitHub.


Failed PhoneGap Update kills project

Posted on: September 17th, 2013 by Timo

Before you get the newest Cordova version for your PhoneGap project and run the update script, you better might want to back it up, or otherwise:

taylor:bin valmar$ ./update ~/dev/android/myp
An unexpected error occurred: ANDROID_BIN="${ANDROID_BIN:=$( which android )}" exited with 1
Deleting project...

Thank you, PhoneGap for deleting my project!


How to read cookies in a Phonegap-based Android app with Java

Posted on: September 3rd, 2013 by Timo

Just took me forever to get this straight, here is the trick on how to do it:

CookieSyncManager sym = CookieSyncManager.createInstance(appView.getContext());
CookieManager com = CookieManager.getInstance();
String cookie = com.getCookie("file:///android_asset");

if (cookie == null) Log.d("MainActivity", "Cookie is null");
	Log.d("MainActivity", "Cookie exists, value is:");
	Log.d("MainActivity", cookie);

Setting Futura Condensed Medium as CSS font family

Posted on: June 23rd, 2013 by Timo

It just took me forever to find out how to set the right font family for Futura Condensed Medium. There is a lot of bullshit on the web what the correct family name should be and they’re all wrong, so here is the right way: