An Implementation of FlexSM for Android