Designing device independent two-phase activity recognition framework for smartphones | IEEE Conference Publication | IEEE Xplore