Category Archives: Programming

Lovur – first update

Now the Lovur application has been available for a couple of weeks and it currently has over 100 installs.
It’s unsurprisingly not a very popular application (people download it, test it and forget about it) but it seems to mostly work, except for a few crashes..

CrashesNow, this is a very neat feature in the Play Store. I get the crash and the stack trace! No problem to debug and fix 🙂

(in this case I was apparently using a function that doesn’t exist before Android 3.0)



Surprising spread of the Lovur app

I’m truly surprised I have to admit. The Lovur app has seen qSpreaduite some spread.

Of course, it’s due to that I have been experimenting a little bit with ads with Google AdWords but I never thought it would get this kind of spreading and that users would return!

The ads have focused on US, UK and India but there is some spread also except for those countries and it’s increasing every day.  Do the ads run in other countries than I’ve selected? I don’t know..


Anyway. The appimagelication is not a hit by any means, but it’s got a lot more than the expected 0 users, and the users are well spread and some are returning. Quite satisfying for a few hours of learning HTML5 I must say.


Lovur v1.0

Here it is. A first version of the Lovur application. I’ll call it a 1.0, but it’s probably quite buggy still.
While it may not revolutionize the world it’s been a good experience for me to learn.

imageNext step is to also try to get this on to IPhone and to do the small localization support that I didn’t do this time around.

I’ve used quite a few plug-ins and resources made available by others in making this application:

Needless to say, I’ve never been able to make anything this complete with so little effort before..

Anyhow. I just published to Play just for seeing how it will look like there (not really tested on anything else than very modern devices)



Lovur – Getting there

The Lovur application is coming along quite nicely. I am developing it using a Sony Xperia ic_512x512and a MacBook Pro.  Currently the application is functional but a bit ugly..

I’ve managed to work through my learning list a bit:

  • The Cordova Environment
  • MVC pattern of angular.js
  • Plugins in cordova
  • Using Google Analytics in a Cordova application
  • Using AdMob in a Cordova application
  • Customizing the look and feel of Ionic
  • Localization support
  • Sharing to Facebook/Twitter with Cordova
  • Releasing an application on Play Store

A few steps to go, but I mostly want to point out that this would be a lot more difficult without very helpful sites like and

The learning application – Lovur

To learn more about HTML5/JS and understanding how things fit together I’ve decided to implement a trivial application in Cordova using the Ionic framework.

The application is a port of a simple game we used to play when I was a kid, where the goal is to calculate the Love between two people based on their name (or probabilityLoves of success in a relationship or whatever.. I don’t quite remember). Anyhow, the application is simple enough for me not spending time on the algorithm (even though I’ve of course improved it to utilize some of the computing power available) and to learn a thing or two on HTML5/JS Mobile Application development, more specifically:

  • The Cordova Environment
  • MVC pattern of angular.js
  • Plugins in cordova
  • Using Google Analytics in a Cordova application
  • Using AdMob in a Cordova application
  • Customizing the look and feel of Ionic
  • Localization support
  • Sharing to Facebook/Twitter with Cordova
  • Releasing an application on Play Store

I guess these are reasonable goals for a first application.. I will report back here on the progress



Saturday morning coding



It’s saturday morning and I’m enjoying my third cup of coffee. It’s one of those days when there aren’t that many plans made, and I feel like learning something new. 

As I’ve been playing with HTML5 the last couple of months, just an hour here and there and made some small experimental apps, it may be time to dig a bit deeper and really make a complete (but trivial) application.

After having played a bit with jQuery and read about other frameworks I’ve decided to learn AngularJS and the Ionic framework to begin with and make my trivial app with these. The AngularJS way of working is elegant and I want to know how to use it. So today is a day of Youtube and sublime text. This will be a really good day 🙂

Todour 0.3


I’m a huge fan of Lifehacker and having their site in my daily RSS flow I quickly learned of todo.txt that is metioned there from time to time and I of course got hooked. A simple text file with a simple format that can be used for todo-list and then any tool can operate on that file.

I started using the android application but I missed desktop applications for handling the list on both Windows and Mac so I wrote one.

I wrote it as I simply love the simplicity of todo.txt and the ability to always read and modify my todo-list without any dependency on any software special software or service.

It’s been a few months now since I wrote it, and I’ve been using it daily at work (windows) and at home (mac) without any problems so I decided to release it into the wild in case anyone else has any use of it.

You can download it from this page.

As you may have noted I’ve only put the version number at 0.3. The program is fully functional but lacks features and I will be adding some simple ones when I find the time, but in the meanwhile, please enjoy this 0.3 version. It works well for me so chances are it will for you as well.

Uninstallur (Win/C#)

Did a re-install of my daughters Vista machine the other day and got annoyed at all the bloat that came with it that I had to remove, and thought that there must be a better way than to remove all those applications one at a time throught the control panel.

After having looked around for a short while and not found a good solution I made one by simply looking into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and getting all the applications there, putting it up in a multi-select view and then uninstall all the selected ones by using one of the following methods:

1) If the program is installed with msiexe (preferred) then uninstall by using the /passive and /norestart switches. Also any /i is replaced with /x

2) If the program is installed with setup.exe use the /qb! command line switches.

3) Any other method, just run the uninstall script (sadly no way of knowing how to make that passive..)

Anyway, it worked out pretty ok, at least for the programs installed with msiexe and setup.exe. Sadly, most of the bloatware wasn’t..


Anyway. Here is a link to the .cs file. It’s not very well made, just a straight forward hack (and there can be some exceptions cast using it.. nothing serious though).

…and don’t think that this is a complete solution. There can be programs in another locations on the computer and some won’t uninstall using this method, but many will, and that was enough for me.