[SailfishDevel] How to get the screen capture but don't block UI
Andrey Kozhevnikov
coderusinbox at gmail.com
Wed Feb 12 06:46:12 UTC 2014
using Qt DBus classes and not use system() call?
On 12.02.2014 12:08, itviewer wrote:
> Dear all,
> I need the screen capture function in my application . There are two
> applications (screenshot and opensource sailshotme) in the jolla store.
> From the "sailshotme", I know that can call the saveScreenshot method
> of org.nemomobile.lipstick through dbus, such as the command:
> "dbus-send --session --type=method_call --print-reply
> --dest=org.nemomobile.lipstick /org/nemomobile/lipstick/screenshot
> org.nemomobile.lipstick.saveScreenshot
> string:/home/nemo/Pictures/123.png "
> but, using the "sailshotme" or the above mentioned command will lead
> to the UI blocking of sailfish system, the screen will not response
> within
> a few seconds, however, it seems that there is no such blocking when
> using the "screenshot".
> so I want to know the mechanism of the "screenshot"?
> Best&Regards
> ------------------------------------------------------------------------
> ma xinjun
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140212/95ad4180/attachment.html>
More information about the Devel
mailing list