Geocaching with the Blackberry Z10

IMG_00000004IMG_00000011Up to now there is no good Geocaching application available for the new Blackberry BB10 devices like the Z10 or Q10. But now I figured out that it is quite easy to install Android applications on my Z10. In my earlier post you can see how easy it is to install any Android application on your Blackberry device.

So my test was to install c:geo (which is one of the best Geocaching applications) on my Z10. To my big surprise it works very well. It doesn’t crash and almost everything works fine, even offline maps and Pocket Query import.

What works

Almost everything :)

What doesn’t work

  • Blackberry does not provide Google maps and satellite pictures, so they are also not available in c:geo
  • The file selection dialogues in the settings do not work. How ever you are able to enter the paths manually
  • Some non critical functions will lead to an error message, but the application will not crash

This is how I suggest to use offline maps and Pocket Queries:

Pocket Queries

When you connect your Blackberry device to your Windows computer (through an USB), you will get a network drive with several folders. I suggest to create a folder gpx inside the misc folder. Then put the Pocket Query files (ZIP files work fine) into that folder. Now, on the device, this folder is available under /accounts/1000/shared/misc/gpx. This is the path you will have to enter in c:geo for the Pocket Query import.

IMG_00000009

Afterwards you can go from the home screen to the saved caches page and import the Pocket Queries from there:

IMG_00000013 IMG_00000012

Offline Maps

You can also create a folder maps in misc for the offline maps as distributed by MapsForge. This folder again is accessible under /accounts/1000/shared/misc/mfmaps on the device.

ATENTION: c:geo is not able to find the maps there!

I suggest to move the folder over to /sdcard/mfmaps. A good tool to do this is Ghost Commander:

IMG_00000014

In the c:geo settings you can enter that path and press on the butten on the left side to select one of the maps:

IMG_00000006 IMG_00000007

Native version

The c:geo team most likely will improve the usability of c:geo under Blackberry 10, until then you can download the converted c:geo BAR file:

c:geo for Blackberry 10 (2013.04.03)
c:geo for Blackberry 10 (2013.04.03)
cgeo.geocaching_v1.2013.403.0.bar
1.9 MiB
48 Downloads
Details...

See also the bug report for c:geo: github.com/cgeo/c-geo-opensource/issues/2595

Posted in Blackberry | Leave a comment

Android applications under Blackberry 10

With their new Operating System BB10 Blackberry made it very easy to convert existing Android applications into Blackberry 10 apps. My test revealed that around 50% of the applications work very well on my Blackberry Z10. The other ones will crash at their start, most likely due the incomplete API. With the soon coming update this might get even better.

I want to show you how easy it is to download, convert and install Android apps on your Blackberry device. The easiest way is to use the Chrome browser as it has 2 extensions which make our work much easier.

  1. Install Chrome Web browser
  2. Install the extension APK-Downloader
  3. Install the extension PlayBook App Manager
  4. Configure the APK-Downloader
  5. Configure the PlayBook App Manager and the Blackberry device
  6. With the Chrome browser go to the Google Play Store page of the desired application, i.e. c:geo.
  7. Download the APK file with the green icon behind the address bar
  8. Go to the page http://apk2bar.unker.net/ and upload the apk file
  9. Wait and download the generated BAR file.
  10. Open the PlayBook App Manager and install the BAR file

Done

Posted in Blackberry | 2 Comments

Synchronize the contacts and calendar of your Blackberry 10 with OwnCloud

The new Blackberry 10 devices support CalDAV as well as CardDAV. With a bit of modifications of your Owncloud installation, it is possible to synchronize your calendar with CalDAV and your contacts with CardDAV.

Based on Nicolas Vivien’s modifications, I implemented my own patched Ownloud server. Nicolas helped me a lot tracing down the various problems and stumbling blocks.

First of all some important Blackberry limitations

On the current Blackberry 10 OS (10.9.10.35), CardDAV only works with a server which supports HTTPS. On the other side, CalDAV also accepts an insecure HTTP server (but first tries HTTPS).
Hopefully Blackberry will fix this in the near future.

My Workaround

Since my hoster only provides HTTPS at an extra cost, I had to look for another solution.
Luckily, my Synology DiskStation als has a webserver and even provides HTTPS.
So I moved my OwnCloud installation to my local DiskStation which is accessible through HTTP over the internet.

Required OwnCloud modifications

To keep the server addresses of the Server short, I added some htaccess RewriteRules to the root directory of my webserver:

RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{HTTP_HOST} ^carddav
RewriteCond %{REQUEST_URI} !^/apps
RewriteRule .* /owncloud/apps/contacts/carddav.php/$1 [L]

RewriteCond %{HTTP_HOST} ^caldav
RewriteCond %{REQUEST_URI} !^/apps
RewriteRule .* /owncloud/apps/calendar/caldav.php/$1 [L]

This will redirect any call from https://carddav.DOMAIN.ch/ to https://DOMAIN.ch/owncloud/apps/contacts/carddav.php and https://caldav.DOMAIN.ch to https://DOMAIN.ch//owncloud/apps/calendar/caldav.php.

You then should see pages similar to this:

principals Collection 2013-03-17T13:43:01+00:00
calendars Collection 2013-03-17T13:43:01+00:00

and

principals Collection 2013-03-17T13:44:48+00:00
addressbooks Collection 2013-03-17T13:44:48+00:00

Note:
Due my modifications, A direct call to the redirected URLs will lead to a Sabre_DAV_Exception_NotFound exception! How ever this doesn’t matter in normal operation since you can always use the much shorter and nicer sub domain call.

Blackberry configuration

CalDAV account

Description: [What ever you want]
User name: Your Owncloud user name
Email address: [Blackberry requires a valid emailadress. How ever Owncloud will ignore it]
Password: Your Owncloud password
Server address: carddav.DOMAIN.ch/calendars/USERNAME/defaultcalendar [add the /calendars/USERNAME/defaultcalendar, where USERNAME has to be replaced by your real user name, else Blackberry will not list the account. If you only have HTTP, you will heve to append a http://, else it uses implies https://]

CardDAV account

Description: [What ever you want]
User name: Your Owncloud user name
Email address: [Blackberry requires a valid emailadress. How ever Owncloud will ignore it]
Password: Your Owncloud password
Server address: carddav.DOMAIN.ch [omit the HTTPS://]

Required OwnCloud modifications

Jet to be documented…

For now, have a look at Nicolas’s patches: http://www.progweb.com/2012/05/playbook-pret-pour-le-cloud/

Posted in Various | 16 Comments

Neuer Philip Maloney Feed

Nachdem sich das Schweizer Radio DRS ja schon seit längerem zu SRF umbenannt hat, habe ich nun endlich auch die Links auf die Philip Maloney Streams angepasst.
Die Streams können nun wieder mit einem einzelnen Klick heruntergeladen werden: MP3-Liste.
Zusätzlich gibt es jetzt auch einen direkten RSS-Feed.

Posted in Various | Leave a comment

Notes application for your OwnCloud

Notes in OwnCloud
Do you use Evernote?

Would you like to move your notes from the insecure company server to your own server?

I wrote a simple app that helps you to manage notes inside your OwnCloud Webinterface.

For more information, have a look at http://apps.owncloud.com/content/show.php?content=155599

Posted in Programming | 4 Comments

Local OpenStreetMap server

When you are one of those users who have a huge usage of OpenSTreetMap tiles (i.e. to generate offline maps for your phone), the you might know that most tile providers limit the access due the huge workload.

A solution to avoid this is to set up your own server. http://switch2osm.org/ documents very well, how this can be done. Since I am working on Linux (Kubuntu) anyway, I followed this guide: http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/.

You well need quite some RAM to generate the database, but afterwards, it works quite well and you can fetch as many tiles as you want :)

Posted in Linux, Various | 2 Comments

Using Zarafa with Z-Push on Kubuntu 12.10

This is a quick guide how the set up the  Zarafa groupware on (K)ubuntu 12.10 and use it with Mail for Exchange.

Zarafa

To set up Zarafa, I followed the (German) guide on http://www.dirk-hagedorn.de/?page_id=841 but used zcp-7.1.0-36420-ubuntu-12.04-x86_64. It is written for in a virtual machine, but works also on a real system. There is also a new (English) tutorial on http://www.linux-answered.com/2012/10/02/install-zarafa-server-on-ubuntu-12-04-lts/, but I haven’t tested that one.

Quick check

Call <SERVER_IP>/webaccess in  your webbrowser. You should need to enter the credentials of the user you created earlier. If everything is right, you will see the groupware page.

Z-Push

To be able to sync with mail for exchange (I tested with my Nokia N9), you also need Z-Push. I followed this tutorial but used z-push-2.0.4-1497: http://www.linux-answered.com/2012/04/25/zarafa-z-push-exchange-activesync-on-ubuntu/.

Quick check

Call <SERVER_IP>/Microsoft-Server-ActiveSync in  your webbrowser. You should need to enter the credentials of the user you created earlier. If everything is right, you will see a page with “…GET not suported…”

Mail for Exchange (Client side)

On my N9, I then created a Mail for Exchange account:
Domain: keep empty
Server address: <SERVER_IP>
Secure connection: disable
Port: 80

Calendar

After that, I was able to create and sync the new calendar on my N9 as well as on the webinterface.

Email

Also, the sending of emails (to myself only since STMP on the server is not configured yet)  and syncing them works well.

Contacts

Contacts sadly seem not to be supported yet. I am not yet sure if there is something missing or if it is only available in the commercial version.

Others

There are other people who got it working more or less successfully:

Posted in Linux | 1 Comment

MiniBible updated

Another great version of MiniBible got released.

Changelog:

  • Great speed improvements
  • Support for incomplete bible translations
  • Added multiple verse selection
  •  Added Bookmark and clipboard support for multiple verse selection
  •  Added easy verse selection toggle
  •  Added History function
  •  Added fast bible text scroller
  •  Added quick translation selection
  •  Added Portuguese and Spanish book names
  •  Various small improvements

Get it from here or wait until it is in the ovi store.
See here for more information.

Posted in Programming | 2 Comments

GPS-Logger for the N9

I just created a new tool for the N9: A GPS-Logger.
This is useful when you go hiking or traveling. It can record your GPS position and store it in a GPX file. Later on you can visualize it in another tool.
For more information, have a look at gps-logger.

Posted in Programming, Various | 14 Comments

How to easily increase a virtual machines partition running Windows XP in it

I have a virtual Windows XP system running in VirtualBox. Is uses VMWare VMDK hardisc file because it originally run it in VMWare. Since the 10 GB harddisc got too small, I tried to increase its size. But all my trials with the VMWare converters, Qemu tools and so failed. Either they just didn’t work or Windows failed to run afterwards.
But now I finally found a way to success:

  1. In VirtualBox, add a new virtual hardisc with the desired space.
  2. Add it to your virtual machine and run it.
  3. Windows will not be able to use it since it has no partition on it, but that doesnt matter.
  4. Now, install a partition cloning tool in your virtual Windows. I use Acronis Disk Director.
  5. With it, you can copy (clone) your existing system partition to the new virtal harddisc. (Note: keep the sice of the partition even there will be more space).
  6. After the cloning, remove the old virtual harddisc and boot Windows on the new virtual harddisc.
  7. To my big surprise, this worked without issues.
  8. Now you can use again Acronis Disk Director to resize the partition to use the whole harddisc.
Posted in Various | Leave a comment