Simple LWP taken from jvsh.ca and adjusted to work with Android Studio.