Re: [SailfishDevel] QML arrays and memory leak

2015-05-05 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 to

Re: [SailfishDevel] Pull data in background

2015-05-04 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://server addr/notifications) and the server will answer me with a json with all the new

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 RAM

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] 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 options

Re: [SailfishDevel] Undo in SailfishOS apps

2014-10-16 Thread Tomasz Sterna
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 ___ SailfishOS.org Devel mailing

Re: [SailfishDevel] About emoji on Sailfish

2014-10-12 Thread Tomasz Sterna
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 signed message part

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

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: [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 @

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

2014-07-31 Thread Tomasz Sterna
, 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 @ http://abadcafe.pl

Re: [SailfishDevel] [API] Ambience DBus API

2014-07-23 Thread Tomasz Sterna
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 QML. -- Tomasz Sterna

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

2014-07-23 Thread Tomasz Sterna
/qqmlengine.html#ObjectOwnership-enum -- Tomasz Sterna :(){ :|:};: Instant Messaging Consultant Open Source Developer http://abadcafe.pl/ http://xiaoka.com/portfolio signature.asc Description: This is a digitally signed message part

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

2014-07-18 Thread Tomasz Sterna
/PulseAudio/Documentation/Developer/Clients/DBus/StreamRestore/ ) Thanks. This may prove useful in future. :-) -- Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail

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

2014-07-18 Thread Tomasz Sterna
/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] 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 very

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

2014-07-04 Thread Tomasz Sterna
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/ ___ SailfishOS.org Devel

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] 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