Completed port to Android Studio.