A framework for developing context-aware mobile applications for geosocial networking