ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19803
Re: control of the cam app from remote
-
To:
ubuntu-phone@xxxxxxxxxxxxxxxxxxx
-
From:
ch <ch@xxxxxxxxxxxxxx>
-
Date:
Mon, 18 Apr 2016 13:27:09 +0200
-
In-reply-to:
<20160416145544.GA4274@c720-r292778-amd64>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Hi,
maybe your are interessted in this
http://radamanthys.de/public/ubuntutouch/RemoteCam.tar.gz
It's just the Camera example from the documentation (like Micheal said),
but with a small plugin, which reads every x milliseconds a given
file. If not empty it executes the content as javascript, and then
truncates the file.
When the app is running you can do things like
echo "camera.videoRecorder.stop()" > camerascript.js
echo "camera.videoRecorder.record()" > camerascript.js
echo "camera.flash.mode=Camera.FlashOn;camera.imageCapture.capture();" >
camerascript.js
After extracting the tar file, run this scipt in the new directoy
to "install" the app
sh create_desktop_file.sh > ~/.local/share/applications/RCam.desktop
greetings
Christian
Follow ups
References