Semi-working Android implementation.