← Back to team overview

ubuntu-phone team mailing list archive

Re: Taking photos automatically

 

http://pastebin.ubuntu.com/10577234/

gcc -Wall -o q ./q.c -lcamera && ./q

hth

On 10 March 2015 at 19:52, Roman Zonov <roman2861@xxxxxxxxx> wrote:
> Or hardcore variant.
>
> Write the simplest QML Camera app, without any controls. Write a script,
> which opens your app. And, with phablet-screenshot, take a photo.
>
> 10.03.2015, 22:50, "Sergio Schvezov" <sergio.schvezov@xxxxxxxxxxxxx>:
>
> On martes 10 de marzo de 2015 16h'43:40 ART, Facundo Batista wrote:
>
>  El 10/03/15 a las 16:39, Zeeshan Chawdhary escibió:
>
>  phablet-screenshotis the command
>
>  But this will take a *screenshot* (that is, an image of what the device
>  is showing in its screen), not a *photo* (that is, an image using the
>  device's camera).
>
> You can talk to the hybris apis directly if you want [1] or use
> qtubuntu-camera (or whatever the new name is called).
>
> [1]
> https://github.com/libhybris/libhybris/blob/master/hybris/include/hybris/camera/camera_compatibility_layer.h
>
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Best regards,
> Roman Zonov.
>
> VK: http://vk.com/zonov_roman
> Facebook: https://www.facebook.com/roman2861
> Twitter: https://twitter.com/zonov_roman
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>


References