A framework for ad-hoc peer-to-peer Android communication