Enabling Collaborative Use of Data for Mobile Devices under Physical and Privacy Constraints