<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
If you developing qml app and don't want to publish app to Harbour
you can use:<br>
<br>
<tt>import Sailfish.Ambience 1.0</tt><tt><br>
</tt><tt><br>
</tt><tt>Profile {</tt><tt><br>
</tt><tt> id: profileControl</tt><tt><br>
</tt><tt>}</tt><br>
<br>
or<br>
<br>
<tt>import org.nemomobile.systemsettings 1.0</tt><tt><br>
</tt><tt><br>
</tt><tt>ProfileControl {</tt><tt><br>
</tt><tt> id: profileControl</tt><tt><br>
</tt><tt>}</tt><br>
<br>
and set profileControl.ringerVolume from 1 to 100<br>
<br>
<div class="moz-cite-prefix">25.12.2014 17:05, qt_junkie пишет:<br>
</div>
<blockquote
cite="mid:CAJNeMcfNYSha4SixURgvO6m9Ds5pPiCAvguXNWwD=6FghNsP=Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,<br>
<br>
does anyone know how can I programmatically change the global
volume of the phone? <br>
<br>
There is Nemo D-Bus interface but it seems not to be used in <br>
Jolla: <a moz-do-not-send="true"
href="https://wiki.merproject.org/wiki/Nemo/Audio/MainVolume">https://wiki.merproject.org/wiki/Nemo/Audio/MainVolume</a><br>
<br>
Does anyone know the proper way to do it?<br>
<br>
</div>
<div>Thanks!<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>