Abstract super class for the android implementation.