Using Weka to implement an activity classifier on Android