<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 11.00.9600.16384"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>
<DIV>Dear all,</DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 2em">I need the screen capture function in my
application . There are two applications (<SPAN
style="FONT-WEIGHT: bold">screenshot </SPAN>and opensource <SPAN
style="FONT-WEIGHT: bold">sailshotme</SPAN>) in the jolla store. </DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">From the "sailshotme", I know that can call
the saveScreenshot method of org.nemomobile.lipstick through dbus, such as the
command:</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">"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
"</DIV>
<DIV> </DIV>
<DIV>but, using the "<SPAN style="FONT-WEIGHT: bold">sailshotme</SPAN>" or the
above mentioned command will lead to the UI blocking of sailfish system, the
screen will not response within </DIV>
<DIV>a few seconds, however, it seems that there is no such blocking when using
the "<SPAN style="FONT-WEIGHT: bold">screenshot</SPAN>".</DIV>
<DIV>so I want to know the <SPAN lang=en id=result_box class=short_text><SPAN
class=hps>mechanism </SPAN></SPAN>of the "screenshot"£¿</DIV>
<DIV> </DIV>
<DIV>Best&Regards </DIV></DIV>
<DIV> </DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
ma xinjun</BODY></HTML>