Difference between revisions of "Tutorial: Simple Drobox-Based Server for iPad/iPhone"
m (Thiebaut moved page Tutorial: Simpler Server for iPad/iPhone to Tutorial: Simple Server for iPad/iPhone) |
|
(No difference)
|
Revision as of 12:29, 20 May 2014
--D. Thiebaut (talk) 12:12, 20 May 2014 (EDT)
Contents
The purpose of this tutorial is to setup a simple server to process photographs taken on a mobile device. Two devices must be linked by a shared Dropbox folder: a Mac running iOS and working as the server, and a mobile device on which the Dropbox app is installed. Whenever a new photo is deposited in the shared Dropbox folder on the mobile device, the image is replicated in the Mac's local Dropbox folder, and an iOS launchd process is automatically called to process the image and generate some new version of it. The resulting new version is automatically replicated in the Dropbox folder on the mobile device. Et voilà!
This type of setup can easily be modified to work in cases where programming in php/javascript is not possible or easy. The advantage of the method presented here is that the launchd script is run with the same privileges as the user, and has access to the the whole set of executable and file systems available to the logged in user.
Overview