Skip to content
This repository has been archived by the owner. It is now read-only.
CMU project, 2018/19
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Course: Mobile and Ubiquitous Computing
University: Instituto Superior Técnico
Academic year: 2018-19


  • David Gonçalves
  • João Pires
  • Leonardo Troeira




See CMU-201819-ProjectReport.pdf

To do

  • wifi direct
  • tests
  • availability


Besides not finishing the implementation of WiFi direct, subsequent offline availability through caching, and not having a proper log with timestamps of the operations and jUnit tests, we (and the teacher) have identified some problems:

  • The TCP socket is left open during the lifetime of the application. This consumes much battery of the device. Although opening sockets multiple times also consumes much battery, as opening a socket results in a spike of energy consumption that is higher than a socket that is already open. Therefore, the suggestion of improvement would be to open a socket for each request and leaving it open during a time interval (e.g. 30 seconds), if a new request is made during that interval, reuse the socket and refresh the time interval, if not, close the socket.
  • The access token for the Google Drive account could be stored encrypted in the server, so that the user wouldn't need to log in if he were to change mobile or delete the app data.
  • The back button shouldn't take us to activities that don't make sense (e.g. login activity).
You can’t perform that action at this time.