This is an attempt to do a simple motion detection with PhoneGap. At the time of coding, no time-lapse plugin was available for it.