Hi Lucien<div><br></div><div>Indeed the app itself is not super complex, it just depends on the availability of two API bits: running app on schedule/event and changing wallpaper, with wallpaper probably changeable via GConf :)</div>

<div><br></div><div>I was thinking about running a daemon instead of asking system to run it on time, but shouldn't starting daemons be something too much for an ordinary 3rd party app to be approved for the whichever-app-store-will-be-used-in-the-end?</div>

<div><br></div><div>Cheers,</div><div>Artem.<br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 8:18 PM, Lucien XU <span dir="ltr"><<a href="mailto:sfietkonstantin@free.fr" target="_blank">sfietkonstantin@free.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Artem !<br>
<br>
I guess it is still a bit too early to talk about that, especially that the<br>
"ambiance" changing API do not exist. (My hack that you linked is just a hack,<br>
and do things in a really dirty way).<br>
<br>
About your application, it should be rather easy.<br>
You might create a daemon that is launched by systemd (you will need to get<br>
documentation on that, but it is a matter of a file in some folder to ask<br>
systemd to launch your daemon).<br>
<br>
After that, you might ask your daemon to trigger some API that is not made<br>
public yet to change ambiance. These API might come with SDK beta, we are not<br>
sure. Personally I would be quite happy to have them in the SDK, but it only<br>
depends on Jolla.<br>
<br>
Cheers,<br>
Lucien<br>
<br>
Le jeudi 18 juillet 2013 19:49:33 Artem Marchenko a écrit :<br>
<div><div class="h5">> Hi all<br>
><br>
> As Sailfish SDK nears Beta and phones come closer, I started thinking about<br>
> porting one app of mine that is downloading cool flickr wallpapers once in<br>
> a while and sets a lockscreen picture or wallpaper. Here's MeeGo version<br>
> <a href="http://store.ovi.com/content/214273" target="_blank">http://store.ovi.com/content/214273</a><br>
><br>
> So before starting it would be cool to check if system APIs for it exist at<br>
> all (e.g. BlackBerry 10 doesn't allow you to start an app on schedule at<br>
> all, they promise it to be changed in 10.2 only).<br>
><br>
> So do you know if following APIs exist in Sailfish?<br>
><br>
> 1. Starting your app on schedule or on some frequent event (e.g. on every<br>
> screen lock)<br>
> 1.1 In a headless mode too?<br>
> 2. Setting lock screen wallpaper or home screen wallpaper. In MeeGo it used<br>
> to be controlled by one of GConf entries, and this post suggests that GConf<br>
> does control some similar things (ambiance source as for that post) -<br>
> <a href="http://sfietkonstantin.wordpress.com/2013/03/07/dev-ambiance-changer-my-firs" target="_blank">http://sfietkonstantin.wordpress.com/2013/03/07/dev-ambiance-changer-my-firs</a><br>
> t-sailfish-os-app/<br>
><br>
> Cheers,<br>
> Artem.<br>
</div></div>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Artem Marchenko<br><a href="http://agilesoftwaredevelopment.com" target="_blank">http://agilesoftwaredevelopment.com</a><br><a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a>
</div>