Upgrade Camera.getPhoto to be device aware and prepare API.uploadPhoto f...

...or testing