Re: [SailfishDevel] CLI update

2017-04-25 Thread Ove Kåven
Den 11. april 2017 23:10, skrev E.S. Rosenberg: > Can I somehow run the update process from CLI? If you have to, you can try the "pkcon" command (e.g. pkcon update), though I'm not sure it would do the same thing as the standard updater. ___

Re: [SailfishDevel] Long term TCP connection

2017-01-18 Thread Ove Kåven
Den 17. jan. 2017 19:55, skrev george b: > My xmpp client [1] makes progress and works very well. But I have > problems with connection drops after about half an hour of device > inactivity. I tried to send xmpp pings to the server in regular > intervalls to keep the connection on. Then I tried to

Re: [SailfishDevel] App doenst launch in intex aqua fish

2016-11-21 Thread Ove Kåven
Den 22. nov. 2016 01:04, skrev joao morgado: > I do prefer a linux enviroment for development, so I'm guessing that to > avoid this same problems in linux I will have to install Sailfish sdk > with a different user than the one I use for Qt sdk. I don't think you do. At least I haven't had a

Re: [SailfishDevel] monitor systemd unit from qml

2016-01-27 Thread Ove Kåven
Den 27. jan. 2016 17:03, skrev Michael Fuchs: There is a signal "PropertiesChanged" defined but it doesn't get emitted, when I start or stop the service. http://www.freedesktop.org/wiki/Software/systemd/dbus/ You could see whether calling "Subscribe()" enables these signals for you.

Re: [SailfishDevel] Sending SMS via Telepathy: Error Channel Dispatcher .. does not support interface CD.I.Messages

2015-08-12 Thread Ove Kåven
Den 12. aug. 2015 14:26, skrev christopher.l...@thurweb.ch: One thing that did not click until this morning is that the telepathy code in the Collabora git is C, while the equivalent in nemomobile is C++. I wonder how is the one translated to the other? D-Bus is rather language-agnostic, you

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Ove Kåven
Den 22. april 2015 18:56, skrev Dmitriy Purgin: $ LANG=ru_RU invoker --type=silica-qt5 appbin does not change the app locale, it behaves as if there were no LANG=ru_RU at all. So does QLocale::setDefault(). I think setting environment variables and calling QLocale::setDefault only works if

Re: [SailfishDevel] SSH listen address

2015-04-19 Thread Ove Kåven
Den 19. april 2015 18:50, skrev E.S. Rosenberg: So this leaves an, I think, interesting question: how do we on the one hand allow SSH access while on the other hand preventing access from GSM/3G/4G? Is it important? Most likely your carrier is going to firewall you anyway. As an experiment, I

Re: [SailfishDevel] Installation trouble with the SDK

2015-01-09 Thread Ove Kåven
Den 09. jan. 2015 00:42, skrev Kim Foder: [ 1148.207675] [c0a2ae49] wl_proc_read+0x89/0xa0 [wl] wl_proc_read seems to be in the non-free Broadcom wireless driver, or something. It has to do with reading things from /proc (perhaps for ifconfig or something like that), which

Re: [SailfishDevel] Installation trouble with the SDK

2014-12-10 Thread Ove Kåven
On 10. des. 2014 10:41, k...@foder.dk wrote: I have had this problem since I upgraded Ubuntu to 14.10, and have recently come to the conclusion that the problem probably is entropy. A test has shown that the entropy pool always is extremely low (about 1000 with heavy disk access, less than

Re: [SailfishDevel] Discrimination and abuse from Jolla employee Thomas Perl

2014-05-22 Thread Ove Kåven
On 22. mai 2014 15:05, Jarko Vihriala wrote: This is not about sweeping dust but please take your epistola to some other channel. I would rather this thread continued right here. As an owner of a preordered Jolla phone, and as an app developer, I'm quite interested in the behaviour and

Re: [SailfishDevel] Where did devel-su come from and what's its purpose?

2014-05-13 Thread Ove Kåven
On 13. mai 2014 15:14, Mehdi El Gueddari wrote: Back in the Meego days, 'devel-su' would let you switch to, quite literally, a developer super user account, which had more privileges than a normal user but wasn't quite root (or at least it seems that way from the few user complaints I could

Re: [SailfishDevel] Calibration level of the compass sensor always 1.0?

2014-05-01 Thread Ove Kåven
Den 29. april 2014 21:59, skrev Jussi Vuorisalmi: Hello, I am using the QML compass sensor in my QML application. The compass sensor and azimuth reading work as expected, but the calibration level (reading.calibrationLevel) always seems to give just the same value: 1.0 (i.e. 100%, perfectly

Re: [SailfishDevel] No QSerialPort

2014-03-27 Thread Ove Kåven
Den 27. mars 2014 10:11, skrev Wim de Vries: Don't know why is there a difference between Sailfisch and MeeGo. I don't think there is. You're running on different hardware, though; the N900 and N9 did have the wiring to support USB OTG. Can I enable power on the USB port? (escape would be

Re: [SailfishDevel] How to make vCard

2014-03-27 Thread Ove Kåven
Den 27. mars 2014 18:33, skrev Andrey Kozhevnikov: How to generate vCard for contact? What is preferred way to do it (if many)? If you're using QtContacts, then it's best to also use QtVersit. ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Ove Kåven
Den 27. mars 2014 00:39, skrev Philippe De Swert: Hi, As this is getting very confused and we are mixing connecting devices to the Jolla and connecting the Jolla to the pc. So which one is it? Personally I don't see why there's any confusion. The OP (wsvries) has always talked about

Re: [SailfishDevel] Problem with OpenGL

2014-03-19 Thread Ove Kåven
Den 18. mars 2014 23:11, skrev Iosif Hamlatzis: In SailfishOS the call to glGenTextures( 1, (pSurfaceNode-g_surfaceID) ); GLenum err_ = glGetError(); fails and it returns error code 1280. Not necessarily. This is the first call to

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Ove Kåven
Den 16. mars 2014 14:14, skrev Arvid Fahlström Myrman: Yes, I've been playing around with BackgroundJob from nemo-keepalive a little since I wrote that. It seems to mostly work similarly to Insomniac, with the added benefit of preventing suspend after triggering until BackgroundJob's finished()

Re: [SailfishDevel] Wrong symbolic link

2014-03-14 Thread Ove Kåven
Den 14. mars 2014 19:37, skrev Iosif Hamlatzis: ssize_t chars = readlink(/proc/self/exe,full_path,PATH_MAX); The usual (portable) way to find the executable name is to use argv[0], not to read /proc/self/exe. (If it's a relative path, then you may need to search for it in the PATH or

Re: [SailfishDevel] Infinity count of pages

2014-03-11 Thread Ove Kåven
Den 11. mars 2014 21:18, skrev Oleg Linkin: Hello. How I can realize in sailfish infinity pages loop. For example: MyProfilePage - MyFriendsList - MyFriendProfilePage - MyFriend'sFriendsList - MyFriend'sFriendProfilePage - (...) But there are about 8 menus in profile and each can be opened (in

Re: [SailfishDevel] show/hide pulley menu items

2014-03-10 Thread Ove Kåven
Den 10. mars 2014 20:43, skrev Vivian Brégier: Thank you, this works just fine. And I always have at least one menuitem visible, so there is no need to hide the menu itself, but it is a good thing to keep in mind. Strangely,

Re: [SailfishDevel] Folder permissions

2014-03-09 Thread Ove Kåven
Den 09. mars 2014 18:33, skrev Iosif Hamlatzis: When deploying a game/application where should its resources (images/sounds/settings files) be stored so that the game/application can have both read and write permissions? You should clarify why you need write permissions, so that it's possible

Re: [SailfishDevel] SilicaListView and SparqlListModel

2014-03-07 Thread Ove Kåven
Den 07. mars 2014 13:46, skrev Michele Tameni: Any advice on this? I'm stuck with this problem. I doubt it has anything to do with the list model. First, note that SilicaListView is a SilicaFlickable. With the Silica UI, you're not really meant to nest flickables inside other flickables

Re: [SailfishDevel] SilicaListView and SparqlListModel

2014-03-07 Thread Ove Kåven
Den 07. mars 2014 18:30, skrev Ove Kåven: First, note that SilicaListView is a SilicaFlickable. Hmm. I should probably correct myself, just in case: I meant that it is *like* a SilicaFlickable, able to do everything a SilicaFlickable can do, including having pulley menus. So it's

Re: [SailfishDevel] Hardware compatibility

2014-03-06 Thread Ove Kåven
Den 06. mars 2014 16:09, skrev SRK Services: I am just doing some pre-development research and am having trouble finding some information. Does anyone know of a link that has a list of compatible hardware for SailfishOS. I did not see any while browsing the site. If the question isn't whether

Re: [SailfishDevel] Some API and sailfish app development questions

2014-03-04 Thread Ove Kåven
Den 04. mars 2014 12:18, skrev Thomas Amler: Hi, I can't answer all of your questions, so directly to the last one: 4. Currently there is no notification API which can be used directly. nemomobile notifications is not allowed in harbour, altough all system apps use it to deal with

Re: [SailfishDevel] Sailfish OS alarm scheduler - where do find source, headers, docs?

2014-02-23 Thread Ove Kåven
Den 24. feb. 2014 00:20, skrev Artem Marchenko: Hi All I seem to remember somebody telling that Sailfish/Nemo scheduler is the same timed as in Harmattan (or a little modified timed?). I fail to find links to the Jolla's timed sources-headers-docs, however. Could somebody, please, point me

Re: [SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-20 Thread Ove Kåven
Den 20. feb. 2014 19:16, skrev Arvid Fahlström Myrman: Well, I've at least solved the first problem by implementing a timer similar to the one used by ScreenBlank in Sailfish.Media (see /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml for reference), and it seems to work properly. I wonder

Re: [SailfishDevel] How to access the viewfinder of the QCamera?

2014-02-02 Thread Ove Kåven
Den 25. jan. 2014 21:22, skrev Marcel: Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a QCamera object (which would be my prefered way as I want to precess the image data) I get the following error: [W] CameraBinSession::processBusMessage:912 - CameraBin error: No

[SailfishDevel] Preventing deep sleep for a few seconds?

2014-02-01 Thread Ove Kåven
If a synchronization starts with the screen off, there's a chance that the phone enters deep suspend during the synchronization. If so, the other side might time out and the sync will fail. So I want prevent the CPU from suspending before the synchronization is complete, which might take a

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 17:18, skrev Julius Loman: 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 particular WLAN

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 22:11, skrev Ove Kåven: You can see in there that PropertyChanged takes a string and a variant (which presumably maps to QString and QVariant), not a D-Bus object path. I think I should have said QDBusVariant, not QVariant

Re: [SailfishDevel] QML Timer stops running

2014-01-13 Thread Ove Kåven
Den 13. jan. 2014 23:04, skrev Thomas Tanghus: Just after having my tiny Kitchen Timer app approved I realized that the timer slows down and eventually stops running - burned food as result :( The timer is set to trigger each 1000 ms. When applicationActive becomes false the timer slows down to

Re: [SailfishDevel] Cannot access phone book on phone when starting app from QtCreator

2014-01-06 Thread Ove Kåven
Den 05. jan. 2014 23:10, skrev Matthias Barmeier: Hi, I am unable to access the phone book when running my app from QtCreator on the phone. Is this a security feature ? I've needed to access PIM data myself, so, as far as I can tell from my own investigations, yes, it's Unix security. The