Re: [SailfishDevel] QtWebKit QWebView

2014-01-24 Thread Hannes Rantzsch
Hey, no, unfortunately I didn't get it working. Had no time for further fiddling around yet. Yeah, XMLHttpRequest looked nice to me too first. But the page I want does not offer anything for that. Just plain html. I would still like to get QWebFrame working, as Aaron suggested. Maybe now someone

Re: [SailfishDevel] LED Flash functionality on a real Jolla

2014-01-24 Thread christopher . lamb
Hi Mohammed That's it! It's strange how things go. Yesterday was one of those days: At work I spent hours fighting with a recalcitrant Confluence installation that refused to start properly, and the evening I could not get the GST code working properly. Today was very different. I discov

Re: [SailfishDevel] QtWebKit QWebView

2014-01-24 Thread Samuli Silvius
Hi, Di you get this working? I would need very same functionality (getting webpage content, as dom to traversal). It feel strange to me that WebView (SilicaWebView) does not provide access to webpage content? Maybe it has reasons, I don't know as very new to mobile apps.. I have also tried to find

Re: [SailfishDevel] LED Flash functionality on a real Jolla

2014-01-24 Thread Mohammed Hassan
On Thu, 23 Jan 2014 22:10:19 +0100 wrote: > Hi Mohammed > > I have been trying to implement your suggestion, but am still having > problems ... > > The Nokia code quoted in my original post did not have an explicit > sink (and on the N9 worked without one). But following the tutorial > in t

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-24 Thread Wim de Vries
Hi David, The example that I use is also QQuickItem derived. Indeed I'll take your method for placement and resizing. Also necessary for landscape/portrait changes. thanks. r wim On 01/23/2014 10:38 AM, David Greaves wrote: On 23/01/14 09:28, Wim de Vries wrote: On 01/22/2014 05:34 PM, Davi

Re: [SailfishDevel] How to attach a page to initial page?

2014-01-24 Thread Samuli Silvius
But that activates every time when going to that page. You need a separate global boolean to set if wanted that to be done only one time. We have the same problem on Unofficialtogether app which has the timer solution. https://github.com/mike7b4/unofficialtogether/blob/master/qml/pages/WebView.qml

Re: [SailfishDevel] Background Services

2014-01-24 Thread Luca Donaggio
AFAIU this is a planned feature, but is not possible yet. On Fri, Jan 24, 2014 at 2:29 PM, سلمان الجمّاز (Salman Aljammaz) < salman.aljam...@gmail.com> wrote: > Come to mention it, is there a way to register custom services for Jolla's > built-in Accounts/Sync facilities? > > Apologies if this i

Re: [SailfishDevel] Background Services

2014-01-24 Thread Andrey Kozhevnikov
it should be similar with nemomobile ones On 24.01.2014 19:29, ? ??? (Salman Aljammaz) wrote: Come to mention it, is there a way to register custom services for Jolla's built-in Accounts/Sync facilities? Apologies if this is documented somewhere, I couldn't find it! 2014/1/24 ?

[SailfishDevel] Background Services

2014-01-24 Thread Salman Aljammaz
Hi all Is there (yet) a preferred way to create background services? Stuff like sync/dbus services etc. At the moment I'm manually using systemd and I'm wondering if there's a higher level interface for long lived processes. Salman ___ SailfishOS.org D

Re: [SailfishDevel] Background Services

2014-01-24 Thread Salman Aljammaz
Come to mention it, is there a way to register custom services for Jolla's built-in Accounts/Sync facilities? Apologies if this is documented somewhere, I couldn't find it! 2014/1/24 سلمان الجمّاز (Salman Aljammaz) > Hi all > > Is there (yet) a preferred way to create background services? Stu

Re: [SailfishDevel] Received SMS?

2014-01-24 Thread Andrey Kozhevnikov
i dont think it can be allowed to harbour On 24.01.2014 19:35, Seppo Tiainen wrote: Hi, What might be the Harbour policy for an app accessing received SMSs? However, I have not yet found any QML tool to enable that. On N9, I did that with Harmattan's Mobility and ListView + MessageModel. Doe

[SailfishDevel] Received SMS?

2014-01-24 Thread Seppo Tiainen
Hi, What might be the Harbour policy for an app accessing received SMSs? However, I have not yet found any QML tool to enable that. On N9, I did that with Harmattan's Mobility and ListView + MessageModel. Does anyone know how to do that in Sailfish? Regards, Seppo __

Re: [SailfishDevel] Segmentation fault: No such file or directory.

2014-01-24 Thread Sylvain B .
Thank you Aaron, I did more tests today in the subway with a limited connectivity and it was actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace suggest, it has something to do with the caching operation.Now that I have a better 3G connectivity, I can reproduce it more oft

Re: [SailfishDevel] How to automatically start a daemon with systemd

2014-01-24 Thread Luca Donaggio
Thank you Kimmo, maybe user daemons are not supported? I'll try to run it as a system daemon and see if it works. By the way, can someone explain what does /usr/bin/invoker do? When is it needed / useful? On Fri, Jan 24, 2014 at 12:35 PM, Kimmo Lindholm wrote: > I have put my .service file u

Re: [SailfishDevel] How to automatically start a daemon with systemd

2014-01-24 Thread Kimmo Lindholm
I have put my .service file under systemd/system –folder and used systemctl enable (not -user) and it starts successfully at boot. I start it without invoker (ExecStart directly calls the executable) (But I need root access for the daemon) From: devel-boun...@lists.sailfishos.org [mailto:deve

[SailfishDevel] How to automatically start a daemon with systemd

2014-01-24 Thread Luca Donaggio
Hi all, I'v written a small personal (not looking for harbour approval here) C++ app which periodically connects to a web service and displays some information into a notification via DBus. This is the .service file which I've deployed in /etc/systemd/user: [Unit] Description=My own daemon Requi

Re: [SailfishDevel] Built-in alarm

2014-01-24 Thread Andrey Kozhevnikov
CONFIG += link_pkgconfig PKGCONFIG += timed On 24.01.2014 15:13, Nemehlo . wrote: Thanks, that brings a light into the darkness, however I'm getting errors during compilation now: *error: undefined reference to `Maemo::Timed::Event::~Event()'* I get this error for pretty much all Maemo objects.

Re: [SailfishDevel] Built-in alarm

2014-01-24 Thread Nemehlo .
Thanks, that brings a light into the darkness, however I'm getting errors during compilation now:error: undefined reference to `Maemo::Timed::Event::~Event()'I get this error for pretty much all Maemo objects. In cpp file I added #include and CONFIG += timed in pro file Have I missed something?