Last 10 posts from the blog

Poor 3.dk Coverage

Posted on June 24, 2011, 2:34 pm

As I said earlier the mobile phone coverage at my workplace is very poor despite being so close to the centre of Copenhagen. Here's an example of just how poor it can be, 22% of the time I've had no coverage at all in a 6 hour period at work. [...]

AddToAny Wordpress Plugin Fix for the Google +1 Button

Posted on June 23, 2011, 2:35 pm

I just added the AddToAny links on my blog but could see that it gave a parsing error when I tried to use the Google +1 button. Having looked at the code it's easy to see the error, in line 371 the code says this: 'https://plusone.google.com/u/0/_/%2B1/button#url=' [...]

My 3 Speedtest Result

Posted on May 12, 2011, 9:59 pm

The mobile operator 3 Denmark that I'm with have released a speedtest based on Ookla to 'show just how good their network is', in their words. I installed it and tried it out, here's the results from my office at work. I should mention that I work a few km's from the centre of Copenhagen but the coverage is useless. I'm usually on an edg [...]

Android Navigation Using Google Maps

Posted on March 30, 2011, 10:08 pm

My app links to Google Maps navigation by sending the start and end points to Google Maps using ther following code. String directions="http://maps.google.com/maps?saddr="+startlatitude+","+startlongitude+ "&daddr="+endLatitude+","+endLongitude; Intent intent = new Intent(android.content.Intent.ACTION_VIEW); intent.setData(Uri. [...]

HTC Store in Copenhagen

Posted on March 27, 2011, 11:23 am

Looked around the new HTC concept store in Copenhagen yesterday. It's a small store but it was still nice to be able to look at the new phones especially when many phone operator shops only have no [...]

Server MIME Type for Android APK files

Posted on March 9, 2011, 6:29 pm

I uploaded my test Android App to my website but found that the server was just treating the file as plain text so it just appeared in the browser as a regular page. To force the app to download through a browser was very easy, just edit your .htaccess file to add the following line (assuming you use Apache of course). AddType [...]

HTC Desire Proximity Sensor Update

Posted on March 6, 2011, 5:52 pm

After writing about this problem and seeing that the fix I thought worked didn't really, I decided to return my Desire to 3 Denmark to be fixed. It could well be that I could have fixed it myself but since the phone was un [...]

ListPreference is broken with alternate array types

Posted on January 22, 2011, 9:31 pm

I ran into this issue months ago writing my Android app and it's hard to believe it doesn't catch everyone at some point. Basically if you set a ListPreserence to use interger-array then you have to retrieve the data as a string or you get a runtime crash. Like many of the commenters I wasted many hours on this before I found the bug tra [...]

Android Market UI Inconsistency

Posted on January 22, 2011, 9:01 pm

It's a minor issue but in the new Market the comments section uses yellow stars shown here. [...]

HTC Desire Proximity Sensor Problem

Posted on December 21, 2010, 12:45 pm

My Desire is 6 months old, not rooted and has Android 2.2 installed. Just recently the proximity sensor has issues, it seems that it only detects very bright light so is useless indoors (or in grey Danish winter). Basically the sensor should detect when I make a call and hold the phone to my ear and then turn off the screen, it should turn back on [...]