Connecting your Android device to an OpenVPN server

This is a follow up post from the previous one, which walked through setting up an OpenVPN server on your own Amazon EC2 machine (for free!). So, assuming you already have the server setup, lets continue by connecting an Android device to the OpenVPN server. Create a new user Navigate to the admin page of your OpenVPN server: https://<machine_ip_adress>/admin/ (Your browser may warn you about the https certificate safety issue, since we have not

» Read more

Setup your own (free) private VPN service on Amazon EC2 with OpenVPN

This tutorial will show you how to create your own VPN server on Amazon Web Services – Elastic Compute Cloud (in short: EC2). Part 2 of this tutorial shows you how to connect an Android device to this OpenVPN server. A VPN service can be used for a lot of things, for example: Testing your websites or services from another countrys ip Accessing content on some sites with ip address block, such as hulu or netflix Connect your computer and/or

» Read more

Creating a nice looking List dialog with images and text

This tutorial, will demonstrate how you can create a great looking selectiondialog, containing both text and images. This list can then be used either directly in an Activity, Fragment, or as an Activity looking like a dialog. In this example, I will go with the latter, and create an activity that looks like a selection dialog window, that, in this case will be used to choose a country. Creating such a selection list is easy if it should contain text

» Read more

Debugging websites on mobile devices with Opera Mobile and Dragonfly

I have previously written about how you can debug mobile websites with a tool called Weinre. Now I will explain another way to debug sites, this time, with Opera Mobile, and Opera Dragonfly. I will be demonstrating this on a Galaxy S 2, with Opera Mobile 11.10 on Android  and Opera desktop version 11.50. This is Opera Mobile, not Mini, which is a different browser. This will not work for iPhone or iPad since Opera Mobile is not

» Read more

Securely synchronize passwords and other sensitive data via Dropbox and other online storage services

With all the buzz about LastPass and other services you can use to help managing passwords and login information for all the websites you visit, I wanted to share my way of accomplishing the same. There are now LastPass plugins for all the major browsers out there, Chrome, FireFox and Opera, and even mobile devices. Im not saying LastPass is no-good, it looks like a nice piece of software. But, I don’t want to store my passwords at any

» Read more

The easiest way to create nice icons for Android apps

In this article I will show you a very easy way to create nice looking icon drawables you can use in your Android applications. Using this method we can easily skip through the difficult and time-consuming parts of creating icons. Yes, I know this method does not work for everyone, some Android developers have their own designer and so on, but for a small and simple app, this will definateley do! The problem Creating icons for Android apps may sound

» Read more

Stretching and Spanning layouts in Android

When I was working on my BF2Stats Android app, I had to find out how to place 2 widgets/layout elements on the same horizontal line, while keeping them stretched at the same time so they are filling the width of the screen. It took me a little research before I found a solution, so I will share two methods with you today. This tutorial will show you how to create layouts that stretches in the width. In Eclipse I

» Read more

How to try out the new Android 2.3 – Gingerbread!

As Google just recently announced the Nexus S from Samsung, which is running the new Android 2.3, known as Gingerbread, I wanted to have a look at the new OS for myself. Gingerbread comes with lots of new nice features and improvements, you can read about them here. Or you can watch the official video, to get a quick overview: Altough testing the OS in an AVD, does not compare to the real device in terms of speed and

» Read more

Getting Started With Android – Setting Up The Development Environment

This is a walkthrough on how to get started developing android applications in windows with Eclipse. I will be using Windows 7 but the steps are similar in Vista and XP. This article assumes little prior knowledge about Android. The reason for using Eclipse is because there exists an Android development plug-in for Eclipse, which makes things easier for us developers. Also, Eclipse is a good and Open Source IDE. Eclipse can also be used for other languages such as

» Read more