Re: [SailfishDevel] QML arrays and memory leak

2015-05-04 Thread Tomasz Sterna
Dnia 2015-05-04, pon o godzinie 22:20 +0200, Kim Foder pisze: > This works great, but it leaks memory fast, and after some time > (between 1 & 2 hours) the OS kills all running apps! > Any ideas how I can solve this? Possibly you are creating/destroying values so fast, that GC does not have time t

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-04 Thread Tomasz Sterna
Dnia 2015-05-03, nie o godzinie 05:08 +, Taixzo pisze: > Is there a way to make an app launch a daemon process that does not get > killed by this? It is very easy to launch a user-systemd lever service. Just create .service descriptor file and "systemctl --user start ..." it. If it becomes R

Re: [SailfishDevel] Pull data in background

2015-05-03 Thread Tomasz Sterna
Dnia 2015-05-02, sob o godzinie 22:27 -0300, Nicolas Cisco pisze: > My problem is how should i poll notifications and > messages. I have to periodically send an ajax call/http request to an url > (eg: http:///notifications) and the server will answer me with > a json with all the new messages. Wel

Re: [SailfishDevel] open source app development and community participation

2015-04-09 Thread Tomasz Sterna
Dnia 2015-04-07, wto o godzinie 23:05 +0200, Andrin Bertschi pisze: > Until now, I found it quite difficult to get to know people for a new > app project or general speaking, get in touch with the community and > thought that could help me if I write here on the mailing list. I host my Open Source

Re: [SailfishDevel] Using org.nemomobile.dbus with MPRIS2

2014-12-20 Thread Tomasz Sterna
Dnia 2014-12-20, sob o godzinie 21:11 +0500, Andrey Kozhevnikov pisze: > I just tried to make MPRIS2 controls for MediaPlayer and QuasarMX with > QML only, but failed. Both players have no PropertiesChanged in > introspection of /org/mpris/MediaPlayer2, and it seems to be a reason > of my fail. W

Re: [SailfishDevel] Use of other aspects of Qt

2014-11-23 Thread Tomasz Sterna
Dnia 2014-11-22, sob o godzinie 12:45 -0700, Chris Sparks pisze: > Well without qt_creator it makes developing apps more complicated and > time consuming Qt Creator installed by SailfishOS SDK has a few plugins disabled by default. But they are still there and you can simply enable them in option

Re: [SailfishDevel] Undo in SailfishOS apps

2014-10-16 Thread Tomasz Sterna
of real Undo. "You have 5 seconds to change your mind, or else..." -- Tomasz Sterna :(){ :|:&};: http://abadcafe.pl/ http://xiaoka.com/portfolio signature.asc Description: This is a digitally signed message part __

Re: [SailfishDevel] About emoji on Sailfish

2014-10-12 Thread Tomasz Sterna
es not provide Emoji font. You will find Emoji font and keyboard layout at: https://openrepos.net/content/penguin/emoji-keyboard -- Tomasz Sterna :(){ :|:&};: http://abadcafe.pl/ http://xiaoka.com/portfolio signature.asc Description: This is a digitally sign

Re: [SailfishDevel] Call events

2014-10-08 Thread Tomasz Sterna
Dnia 2014-10-08, śro o godzinie 11:00 +0300, Kaj-Michael Lang pisze: > Is there some, official harbour approved, way to get notified about > incoming/outgoing calls start/stop so my app can react to these events ? There is an official and very easy to use VoiceCallManager from org.nemomobile.voice

Re: [SailfishDevel] Compared with Ubuntu touch,are there any advantages to jolla?

2014-09-24 Thread Tomasz Sterna
Dnia 2014-09-24, śro o godzinie 15:07 +0800, itviewer pisze: > Compared with Ubuntu touch,are there any advantages to jolla? Sure... You can: - actually buy - today - at normal web store - a real device - that actually works - use as main phone - on a daily basis _

Re: [SailfishDevel] Announcing "Mono for Sailfish"

2014-08-22 Thread Tomasz Sterna
Dnia 2014-08-22, pią o godzinie 12:12 +0300, Ville M. Vainio pisze: > Better path than QtSharp would be just creating a QML bridge to Mono, > i.e. instantiate a QML runtime and make Mono talk with it. This is how Go-QML [1] does it. You don't need the whole Qt wrapped, just the QML engine - the re

Re: [SailfishDevel] Import paths

2014-08-19 Thread Tomasz Sterna
Dnia 2014-08-19, wto o godzinie 18:35 +0100, Chris Walker pisze: > Is there any such documentation or can anybody here point me to some > docs describing the import? I'm struggling to make an import path > work. The only mention I'm aware of: https://harbour.jolla.com/faq#5.3.0 -- smoku @ http:

Re: [SailfishDevel] Setting application screen orientation from C++

2014-07-31 Thread Tomasz Sterna
. Also, the relayouting process was cleverly hidden by rotating the screenshot of the last state of the application, so the user does not see the relayouting itself. I perfectly understand that's... discouraging, to require so much developer effort for such a niche platform. -- Tomasz Sterna @ ht

Re: [SailfishDevel] Ho to analyse app crash when re-starting app fails

2014-07-22 Thread Tomasz Sterna
. [1] http://qt-project.org/doc/qt-5/qqmlengine.html#ObjectOwnership-enum -- Tomasz Sterna :(){ :|:&};: Instant Messaging Consultant Open Source Developer http://abadcafe.pl/ http://xiaoka.com/portfolio signature.asc Description: Th

Re: [SailfishDevel] [API] Ambience DBus API

2014-07-22 Thread Tomasz Sterna
; I can't actually imagine one except the colorset change notification but if I > understand correctly Silica's Theme object already contains current > ambience colors. SDL apps may find useful to get ambience colours to paint UI accordingly, without round trip to

Re: [SailfishDevel] How to properly hide and show UI elements?

2014-07-18 Thread Tomasz Sterna
] to 'true'. [1] http://qt-project.org/doc/qt-5/qml-qtquick-item.html#clip-prop -- Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Updates to resource policy implementation in QtMultimedia (update8)

2014-07-18 Thread Tomasz Sterna
t; http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/StreamRestore/ > > ) Thanks. This may prove useful in future. :-) -- Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ ___ SailfishOS.org D

Re: [SailfishDevel] Measuring distance with GPS

2014-07-08 Thread Tomasz Sterna
Dnia 2014-07-08, wto o godzinie 21:32 +0200, Caliste Damien pisze: > - if you sum up the distance between GPS fix at regular intervals > (some seconds), you may end up with a total distance that is greater > than the actual distance, especially because of some portions of your > path that are not v

Re: [SailfishDevel] Updates to resource policy implementation in QtMultimedia (update8)

2014-07-04 Thread Tomasz Sterna
Dnia 2014-07-03, czw o godzinie 14:56 +0300, Juho Hämäläinen pisze: > (So say system volume is 50%, Audio > object volume is ramped from 0% to 100%, Audio object volume stays at > 100% until user presses volume up, and then system volume changes to > 55% and Audio object volume changes to 55%) B

Re: [SailfishDevel] Updates to resource policy implementation in QtMultimedia (update8)

2014-07-04 Thread Tomasz Sterna
volume level and one has to code that in every single application. Also counter-intuitive to the user. I do not expect any app to play sound when I have silenced my phone to 0%. -- Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ ___ Sail

Re: [SailfishDevel] Notifications API

2014-06-29 Thread Tomasz Sterna
Dnia 2014-06-29, nie o godzinie 15:54 +, Jonni Rainisto pisze: > https://github.com/nemomobile/mlite/blob/master/src/mnotification.h Thanks a lot, that works great. :-) Any pointers where do I look for available icon names? I created notification(MNotification::DeviceEvent) and it shows with

[SailfishDevel] Notifications API

2014-06-29 Thread Tomasz Sterna
How do I send a notification that appears as that thin, blue line at the top of the launcher? i.e. the one after connecting USB, with lightning icon saying that the device is charging. -- Tomasz Sterna:(){ :|:&};: Instant Messaging ConsultantOpen So

[SailfishDevel] Known Bluetooth devices

2014-06-23 Thread Tomasz Sterna
Hello. Is there a way of obtaining a list of known BT devices from pure Qt C++? I know there is KnownDevicesModel in Sailfish.Bluetooth QML module, but I would like to get that information on C++ level - in an command-line application running without UI. Any hints? -- Tomasz Sterna @ http