Addendum to the Project Description
Transition between cloud and wireless operation modes
The project implementation must be set up to operate in one of two possible modes: cloud mode or wireless mode. More specifically, whenever the application is launched by the user (or deployed from Android studio to the emulator / device), the app must first ask the user in which of these modes the applications should operate henceforth: if cloud mode, the photos will be stored on the users' cloud accounts, otherwise if wireless mode, the photos will be stored on users' mobile devices. In order to change modes, it will be necessary to restart the application. For the checkpoint, we will ask you to demonstrate your application working in cloud mode. For the final delivery you must demonstrate both modes.
The project description states that P2Photo's wireless operation mode "must be tested" on the Termite wifi direct emulator. However, this is not strictly necessary; you are free to use your smartphones and test with the real Android Wifi Direct API. Note that you should decide which wireless testbed you plan to use before you start implementing the wireless P2P operation mode of the project. This is because the APIs between Termite and Android Wifi Direct and not entirely compatible. We will provide more details about this in the Lab 4 class.
Implementation of the P2Photo server