View genymotionwithplay.txt
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161892865 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
View gist:771ffa63b159c5f0b936

Create a droplet

  1. Go to digitalocean.com and hit Create Droplet.
  2. Name your droplet, select size and region.
  3. Select ubuntu distribution and lamp application.
  4. Click Create droplet.
  5. You will receive an email with ip address and user credentials.

Log in with putty

  1. Download putty from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  2. Open putty.
View MainActivity.java
package com.alamkanak.weekview.sample;
import android.app.Activity;
import android.os.Bundle;
import com.alamkanak.weekview.WeekView;
import com.alamkanak.weekview.WeekViewEvent;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;