Archive for the ‘Android’ Category

Speeding up SQLite insert operations

Tuesday, November 8th, 2011

We’ve started a blog at work where we will be writing about all kinds of technology we use at VG.no and its network of services. I will try to be a little more active with my blogging from now on and will make sure to post a link to any interesting articles both on this blog and on twitter.

I wrote up a blog post there about how to speed up SQLite insert operations.
Check it out over at VG Tech.

Getting the Samsung Galaxy S to work on Linux

Monday, March 14th, 2011

I was developing a quick prototype for an Android application today, and was having some trouble getting my Samsung Galaxy S working on Linux. Running “adb devices” only revealed it as “????????” – so I was not able to launch my application on the device.

The fix was pretty simple, and would be easy to find if you’re smart enough to poke around the documentation a little – but I ended up Googling for it, so maybe someone else will do the same. Here’s how I made it work on Ubuntu 10.10:

  • Create a file /etc/udev/rules.d/51-android.rules as root.
  • Open up your favourite editor and put the following line in the file:
    SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
  • Make it executable: chmod a+r /etc/udev/rules.d/51-android.rules

That’s all it took. The above should work for all Samsung devices, the Android documentation has a reference to other vendor IDs that you might use if you don’t have a Samsung device.

Android application: Agricola Buddy

Friday, July 23rd, 2010

Yesterday, I released an Android application on the Android Market; Agricola Buddy.

For months now, we’ve had regular games of the Agricola board game at work. It’s a real gem of a game, and in my opinion perfect for “thinkers” – like programmers usually are.

Scan to download

The application helps you with calculating the score for each player in the game, which is done at the end of each game. While far from a necessity when playing, it provided me with an opportunity to create and release an application of limited size and complexity.

You can find the application on the Android Market, just search for “Agricola Buddy” or scan the QR-code to the right.

In the future, I hope to add lots of cool features to it – a way to store results over time, submit to a webservice, easily share the results with others, occupation/minor improvement reference and so on. If you have an Android phone, give it a go :-)

Here are some screenshots: