Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-23 Thread Lorn Potter
On 23/01/2014, at 2:18 AM, Julius Loman wrote: > Hi > > this is for sure a beginners question, but I hope somebody can help me to sort > it out. I want to listen to connman dbus events to determine connection > changes > (I'm interested in receiving signal as soon as device connects to particu

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

2014-01-23 Thread Aaron McCarthy
Hi, On Thu, 23 Jan 2014 21:17:41 Sylvain B. wrote: > I am facing some segfaults so I've decided to install GDB and the debug > packages of some Qt5 libs on my phone (Hope that won't cause issues with > future Sailfish updates?). But this does not help me, since they apparently > aren't coming from

[SailfishDevel] Help/guidance request - camera viewfinder with qml overlay

2014-01-23 Thread Kimmo Lindholm
...For TOH Thermal viewer application. Going to use a panasonic Grid-eye 8x8 infrared sensor (1), attach it to 'TOH' and get the thermal data to the application. Now i need just example how to get camera viewfinder on the screen and on top of which i can draw overlay with QML. Result could be

Re: [SailfishDevel] How to hide pushup menu?

2014-01-23 Thread Tero Siironen
I found out that I had to set the contentHeight property for the flickable to get rid of the "floating pushupmenu”. And then it was enough to set enabled: false and visible: false to get the menu not showing. I tried also setting the pushup property null, but then I had to define the menu outsi

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

2014-01-23 Thread Sylvain B .
Hello, I am facing some segfaults so I've decided to install GDB and the debug packages of some Qt5 libs on my phone (Hope that won't cause issues with future Sailfish updates?). But this does not help me, since they apparently aren't coming from my code. For the first, I have a back button on

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] Cannot ssh to device in USB developer mode

2014-01-23 Thread christopher . lamb
Hi Damien congratulations on "getting in"! There is not such thing as a stupid question, only stupid answers 8-) Now that you can connect things by SSH, if you want to do so using an RSA key in the same way that you can connect to the emulator, here is how: http://flyingsheeponsailfish.bl

Re: [SailfishDevel] Porting Symbian QML to Sailfish

2014-01-23 Thread Andrey Kozhevnikov
CommonDialog --> ComboBox ToolBar,ToolBarLayout,ToolButton--> PulldownMenu/PushUpMenu/ComboBox SelectionDialog--> ComboBox QueryDialog--> Dialog RadioButton--> Switch CheckableGroup

[SailfishDevel] Porting Symbian QML to Sailfish

2014-01-23 Thread Samuli Silvius
Hi, Porting from Symbian app to Sailfish. What are the correct replacements in Sailfish QML? CommonDialog --> ? ToolBar, ToolBarLayout, ToolButton--> PulldownMenu? SelectionDialog--> ? QueryDialog--> ? RadioButton

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Graham Cobb
On 23/01/14 14:01, dcali...@free.fr wrote: > - I ssh at this address with nemo as login, it's responding since it proposes > to > add the hw key to the known host list, and then it's asking for the password, > but when I type it, I get permission denied. The password is alright since I > can > ss

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello, Selon Graham Cobb : > On 23/01/14 14:01, dcali...@free.fr wrote: > It sounds like you are connecting to the ssh on your own machine. To > test that you could try logging in to an account which exists on your > own machine (or check the hw key, or set up a banner message). Thanks, I've unde

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Selon Julius Loman : > Assign 192.168.2.14 to your computer and do "ssh nemo@192.168.2.15" > It seems to me you are just connecting to your computer, not to Jolla device. Ok, I understand, I should be able to find the solution now. Thanks a lot. And sorry for the stupid question… Damien.

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
Assign 192.168.2.14 to your computer and do "ssh nemo@192.168.2.15" It seems to me you are just connecting to your computer, not to Jolla device. On Thu, Jan 23, 2014 at 03:11:21PM +0100, dcali...@free.fr wrote: > Hello, > > Selon Julius Loman : > > 192.168.2.15 is Jolla's IP address. you have to

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello, Selon Julius Loman : > 192.168.2.15 is Jolla's IP address. you have to set another IP address in the > same > C class network to your usb0 interface. For example 192.168.2.14. Thanks for replying promptly, but it's not working neither. Same results, I can ping 192.168.2.14, but when I ssh t

Re: [SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread Julius Loman
192.168.2.15 is Jolla's IP address. you have to set another IP address in the same C class network to your usb0 interface. For example 192.168.2.14. Julius On Thu, Jan 23, 2014 at 03:01:08PM +0100, dcali...@free.fr wrote: > Hello list members, > >Sorry for asking this stupid question, but I

[SailfishDevel] Cannot ssh to device in USB developer mode

2014-01-23 Thread dcaliste
Hello list members, Sorry for asking this stupid question, but I can't connect to the device with ssh when this one is connected via USB in developer mode. I can ssh to it when connecting through WLAN though. What I'm doing: - enable developer mode and set-up a password (this one is working

Re: [SailfishDevel] How to hide pushup menu?

2014-01-23 Thread Tero Siironen
2014/1/23 Oleksii Serdiuk : > Did you try setting `pushUpMenu` property to null? > > Docs say that it should be "null if no push-up menu has been assigned": > https://sailfishos.org/sailfish-silica/qml-sailfishsilica-silicaflickable.html#pushUpMenu-prop > Thanks for pointing that out, I have to tr

Re: [SailfishDevel] Built-in alarm

2014-01-23 Thread Jonni Rainisto
Yes, you can use same way what timedclient-qt5 uses (like running "timedclient-qt5 -L" will show you all alarms and reminders): https://github.com/nemomobile/timed/blob/master/tools/timedclient/timedclient.cpp From: devel-boun...@lists.sailfishos.org [devel-boun

Re: [SailfishDevel] How to hide pushup menu?

2014-01-23 Thread Oleksii Serdiuk
Did you try setting `pushUpMenu` property to null? Docs say that it should be "null if no push-up menu has been assigned": https://sailfishos.org/sailfish-silica/qml-sailfishsilica-silicaflickable.html#pushUpMenu-prop On 23/01/14 11:35, Tero Siironen wrote: > I have PushUpMenu in my app which cur

[SailfishDevel] Built-in alarm

2014-01-23 Thread Nemehlo .
Hello Sailors, just a quick one: is there a way how to check if the alarm clock is set and at what time? from within either C++ or QML code? thanks a lot ___ SailfishOS.org Devel mailing list

[SailfishDevel] App interoperability the Sailfish Way. Particularly sharing between apps. Any ideas on how it can happen UI and API-wise?

2014-01-23 Thread Artem Marchenko
Hi there Simplest you case. You are using Tweetian or Friends and want to save a link to some read-it-later service, or share to a not built-in social network (Russian vkontakte or Chinese Weibo) or even to a built-in app such as Messaging or Email. Or you implement a whatsapp client and want to s

Re: [SailfishDevel] How to hide pushup menu?

2014-01-23 Thread sailfishmail
Hi, just guessing, but try if the menu has "enabled" property, most switches etc. Have it. Br, Asser On Thu Jan 23 2014 12:35:40 GMT+0200 (EET), Tero Siironen wrote: > >I have PushUpMenu in my app which currently has only one item, and in >some situations also that item should not be visible. H

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

[SailfishDevel] How to hide pushup menu?

2014-01-23 Thread Tero Siironen
I have PushUpMenu in my app which currently has only one item, and in some situations also that item should not be visible. How can I hide the menu? I tried to set MenuItem's visibility to false, but that lead to weird behaviour; PushUpMenu is still there and empty, but the empty menu can be pushe

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-23 Thread David Greaves
On 23/01/14 09:28, Wim de Vries wrote: > On 01/22/2014 05:34 PM, David Greaves wrote: >> Fantastic - I just verified that it works here too. >> >> How are you getting the GL into the QML scene? > From one of the GL examples (Squircle in c++): > glViewport() determining the position (not yet QML) in

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-23 Thread Wim de Vries
On 01/22/2014 05:34 PM, David Greaves wrote: Fantastic - I just verified that it works here too. How are you getting the GL into the QML scene? From one of the GL examples (Squircle in c++): glViewport() determining the position (not yet QML) in Page. main c++: qmlRegisterType("OpenGLUnderQML"

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