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

2014-01-26 Thread Artem Marchenko
Cool to see that happening, guys! Will help me to move Flashlight app to proper gstreamer too if it is ever allowed in harbour or if I (or anybody else) manages to bundle it with the app. Should be possible. Cheers, Artem. On Sat, Jan 25, 2014 at 6:50 PM, wrote: > Mohammed et al > > I have j

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

2014-01-26 Thread christopher . lamb
Hi Mohmammed following your suggestion earlier in this thread: "You will also have to make use of resource policy engine to arbitrate access to camera." I have updated this demo: https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/GSTTorch2 to do so using nemo-qml-plugin-poli

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

2014-01-25 Thread christopher . lamb
Mohammed et al I have just posted the code of my demo Flashlight app to Github https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/GSTTorch2 This uses Gstreamer, and in its current form is far from Harbour compliancy. It exposes a torch to QML using the Jolla LED flash that can

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

2014-01-25 Thread Mohammed Hassan
I am glad it worked for you :-) Perhaps I should start working on an open flash light app. Would anyone like to contribute to such app? I have already 2 apps to maintain and I can't easily fit a 3rd. Cheers, On Fri, Jan 24, 2014 at 09:43:54PM +0100, christopher.l...@thurweb.ch wrote: > Hi Mohamm

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] 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] LED Flash functionality on a real Jolla

2014-01-23 Thread christopher . lamb
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 the link below I have added one to the my code. http://

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

2014-01-23 Thread Artem Marchenko
Cool to see that ported, Chris! Are you into porting a tracker such as Gaggle? I am flying a paraglider myself, so would be interested to help. As for LED. I did a flashlight that is currently in the app store. Here is the state of art: 1. Qt Multimedia's torch mode is promised to come, but does

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

2014-01-23 Thread christopher . lamb
Hi Mohammed thanks. I will try that later (am at work at the moment). I will also need to look into the resource policy engine, as that is new to me. Harbour entry is becoming less and less of a concern for me. My app does too many things that are not considered kosher under the current H

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

2014-01-22 Thread Mohammed Hassan
On Wed, Jan 22, 2014 at 08:29:19PM +0100, christopher.l...@thurweb.ch wrote: [...] > Solution 3) > > Via a Gstreamer QML Plugin. > > I dug out some old code that worked on Harmattan, basically the code > from this link to create a qml plugin > > http://developer.nokia.com/Community/Wiki/How_to_t

[SailfishDevel] LED Flash functionality on a real Jolla

2014-01-22 Thread christopher . lamb
Hi All As many will know from previous threads, I am well on the way to porting an app for paraglider pilots. A subsidiary yet still important feature {1} that I added to the Harmattan version is an emergency flash, using the phone's LED. Now that I have got the app's main functionality p