A random technology blog by @evertvdbruel

This post is a small tutorial on how to add Google maps v2 to your Android application. The v2 of the framework is a huge improvement over v1 since it was lacking all kinds of important features like gesture recognision, adding markers was realy annoying with ItemizedOverlay, …

So here are the steps needed to add Google Maps v2 to your application.

The first thing you need is an Android project, you can use an existing or create a new one. Once you’ve got the project you should download Google Play Services if you haven’t got them installed.

You can download via the Android SDK Manager (in Eclipse) wich is located at: Window => Android SDK Manager, “Google Play services” is located under extras.

While downloading you can generate the API key, go to the API console and create a new project. You’ll be redirected to a page with a bunch of switches, search for Google Maps Android API v2 and turn it on.

Once that is done you should open your terminal and get a SHA1 fingerprint of your debug key, so open a terminal window and entercd ~/.android
thenkeytool -list -v -keystore debug.keystore
and copy the value after SHA1: value to be copied.

After that you should go to API Access and click on “Create new Android key…”, paste the value and add your package name (separated by a semicolon). Like this: 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.example

Getting American flavoured internet

A few weeks ago I was wondering if it was possible to use Netflix in Belgium, so I started searching the web for ways to achieve this.

I came across quite a VPN services during this quest but the one that looked the most promising to me hidemyass.com (please note that is a referral link). One of the main reasons that I chose hidemyass was that you can configure it on a router so it’s possible to use Netflix(or any other country limited service) on your Playstation, Xbox, Apple TV,… but you can just install the client on your computer and use your browser.

If you want to use a router for this you need that you can flash DD-WRT on (you can check it here). Since I didn’t have an old router I started looking online for a cheap router that I could use and bought the TP-Link TL-WR1043ND on Bol.com or you can get it on Amazon.co.uk.
Next I flashed the DD-WRT firmware on the router using the instructions found here. After that I configured the hidemyass settings on the router like this.
When everything is setup correctly you can start exploring the American internet.

By default the Netflix application is hidden on most non-American devices I guess for not frustrating users with an unusable app so you need to change the region to USA.

access other exclusive content like the US google play store, so you can get books, movies, … on your Android

content starts at the press of a button

allmost everything has English subtitles

recommendations on things to see based on your ratings

And a few negative points:

Netflix hasn’t got all the content :], but there are other services like hulu, hbo, … so you can get extra content if you like

due to the latency surfing isn’t a solid experience (no problems with streaming)

Conclusion

Watching content never has been easier for me fire up the application, select the video you want to watch, press play and you’re done. So I would recommend using netflix to anyone who loves consuming tons of content.