Friday, November 05, 2010

abook-qrcode 0.4

Uploaded a new version (0.4) of abook-qrcode to extras-devel. Plenty of new exciting features! :)

Now instead of saving the QR Code directly, you will get a nice preview QR Code image that someone can read directly from the phone screen. From the menu you have the option to Save or Share. Share uses the N900 sharing service so you can send the QR Code as an e-mail, using bluetooth or any configured sharing service like Facebook or Ovi.

Friday, October 22, 2010

New release of QR Code contact export plugin (abook-qrcode)

abook-qrcode is an address book extension, for the N900, to export your contacts as vcards encoded in a QR Code image.
I uploaded a new release, version 0.3 of abook-qrcode and it is now in extras-testing for you testing pleasure. New in this version:
  • Selection of location and filename of exported QR Code image
  • Export enabled in "My information" too
Planned for the next version is the ability to import contacts from any image containing a QR Code.

Thursday, October 21, 2010

Spare parts for 770, N800, N810 and N900

Someone was asking for where to get spare parts for the older tablets in Europe. Quick google did not find anything, but after digging I found one place. I am posting it here just in case anyone needs spare parts, and as a note to myself. So here.

Updated: 21.10.2011
Looks like the link when I posted this is broken, but the site has still spare parts available for all older tablets (770, N800, N810), and the N900 too.

Tuesday, October 12, 2010

Wasting time ranting and not doing it

This is just silly, the time used to rant about how hard it is could have been spent making the .deb. It is not that hard to create and you can always use another source deb as a template. There are plenty to choose from.

Monday, October 04, 2010

Wine 1.3.4 on arm (N900)

After reading the announcement of wine 1.3.4 and particularly this on winehq: "Winelib now supports the ARM platform" I just had to try it.

Builds fine in sbox, no problems there. Initial run takes a while of clicking on cancel as winedbg crashes but after that the built in programs runs, but the window manager is not doing such a great job with the wine windows and dialogs.

Screenshots of winemine below:



Update 15.10.2010:
Using desktop mode makes using wine much nicer and keyboard input works too. Running winecfg is a bit problematic as it won't fit the screen properly but editing ~/.wine/user.reg and adding the following lines in the end enables desktop mode:
[Software\\Wine\\Explorer] 1287126526
"Desktop"="Default"

[Software\\Wine\\Explorer\\Desktops] 1287126530
"Default"="800x480"

Monday, August 23, 2010

GPS information widgets

I've been busy with splitting out and rewriting the GPS information widgets from Mapper. I've also removed all the gdk rendering code and using cairo only.
Below is a screenshot from testing app:

Friday, August 06, 2010

Creating a large map from OpenStreetMap map tiles

We where planning at work to print large maps of the BSR on plywood and create a puzzle out of it, I think it was 1x1 meter. I made the following simple bash script to download and stitch the tiles using ImageMagick:

#!/bin/sh
#From
#http://c.tile.cloudmade.com/fd093e52f0965d46bb1c6c6281022199/3/256/7/66/26.png
#To:
#http://b.tile.cloudmade.com/fd093e52f0965d46bb1c6c6281022199/3/256/7/76/42.png
Z=7
URL=http://tile.cloudmade.com/fd093e52f0965d46bb1c6c6281022199/3/256/

download_tile() {
 FILE=tile_${x}_${y}.png
 if [ -r $FILE ]; then 
  echo .
 else
  curl --output tile_${x}_${y}.png ${URL}/${Z}/${1}/${2}.png
 fi
}

for ((x=66;x<77;x++)) do
  for ((y=26;y<43;y++)) do
   download_tile $x $y
   sleep 0.1
  done
  montage -geometry 256x256 -tile 1x17 tile_${x}* map_${x}.png
  sleep 1
done

Unfortunately printing and large sticker or directly on plywood was out of the budget so in the end it wasn't needed. The fallback was handpainting, not as accurate, but looks pretty good still.
Anyway, I post this tiny script in here in case someone else might need something like it as I didn't find anything suitable when I was searching for a quick and simple solution. The best would of course had been to create a custom map using mapnik and all that, but it would have take too much time (and I don't have any hardware to play with at work, only my laptop with a tiny disk)