Re: [SailfishDevel] How to show toast notification?

2020-03-03 Thread Dylan Van Assche via Devel
I use the `transient` option to briefly show a notification.
It's the same type of notification you get when you plug in your phone in a 
charger for example.

https://sailfishos.org/develop/docs/nemo-qml-plugin-notifications/qml-nemo-notifications-notification.html/#isTransient-prop

Kind regards,
Dylan Van Assche


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Monday, March 2, 2020 1:05 PM,  wrote:

> In amazfish, I animate in a rectangle. Its all wrapped up in a function which 
> hides at using a timer. It all exists in the main application qml file with a 
> z value to ensure its above all pages. Unfortunatley, i dont think there is a 
> standardised way of doing this.
>
> Adam
>
> On Monday, 2 March 2020, Tamas Miklos wrote:
>
> > Hi,
> > I'd like to show a quick notification to the user of my SFOS app after 
> > selecting a certain PullDownMenu item. The notification doesn't need to be 
> > modal or have any buttons or require any user interaction. Much like how 
> > the Toast notification works in Android apps. The closest I got to 
> > something like that is showing a DockedPanel and then hiding it after 2 
> > seconds. But, it would be great to achieve that without DockedPanel.
> > Thanks,
> > Tamas
> >
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or
>
> --
>
> Sent from my Sailfish device
>
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Nemo Configuration QML won't write new properties

2019-08-23 Thread Dylan Van Assche via Devel
Hi,

I'm trying to add an additional setting to Sailbook.
However, Nemo Configuration QML won't write to this new setting property in 
dconf.

I added the property here (ConfigurationGroup):
https://gitlab.com/dylanvanassche/harbour-sailbook/blob/master/qml/harbour-sailbook.qml

And I write to it here:
https://gitlab.com/dylanvanassche/harbour-sailbook/blob/master/qml/pages/SettingsPage.qml#L7-27

I'm not sure what I'm doing wrong, but dconf doesn't get any input from Nemo 
Configuration QML.

Kind regards,
Dylan Van Assche

Sent with [ProtonMail](https://protonmail.com) Secure Email.___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Secure storage for login data

2019-06-13 Thread Dylan Van Assche via Devel
Thanks for the demo application! This is something I can work with :)
It would be nice for Sailfinder to store its API keys in a secure storage.
This way, I don't have to authenticate the user each time he or she wants to 
use Sailfinder.
Only a check needs to be applied to see if the key hasn't been expired of 
course.

Kind regards,
Dylan

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Thursday, June 13, 2019 11:18 AM, Chris Adams  wrote:

> Hi,
>
> Sorry for top posting.
> I've written a quick example which can be seen here:
> https://github.com/sailfishos/sailfish-secrets/pull/162/files
>
> I wrote it in my spare time rather than paid work so it's somewhat quick and 
> dirty.
>
> I've added a comment to the PR which documents a possible pain point for this 
> particular use case, and in general I would say that I consider these APIs to 
> be quite early stage and subject to revision, primarily because we haven't 
> had much real-world use or feedback, so far.  Please bear that in mind.  Of 
> course, feedback would definitely be appreciated.
>
> Best regards,
> Chris.
>
> ---
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Thursday, June 13, 2019 2:27 PM
> To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] Secure storage for login data
>
> Sailfish Secrets would be ideal. QtKeychain is also possible but KWallet is 
> missing.
>
> A Sailfish Secrets C++ example on Github would be very handy!
>
> Kind regards,
> Dylan
>
> Sent from ProtonMail mobile
>
>  Original Message 
> On 12 Jun 2019 22:41, Андрей Кожевников < coderusin...@gmail.com> wrote:
>
>> share sample project to github pleaes
>>
>> ср, 12 июн. 2019 г. в 23:30, Damien Caliste :
>>
>>> Hello,
>>>
>>> Indeed, sailfish secrets allow to store encrypted data. I can send an 
>>> example here in C++, and there are C bindings also.
>>>
>>> Damien.
>>>
>>>> Le Mercredi 12 juin 2019, Dylan Van Assche via Devel a écrit :
>>>> > Hi,
>>>> >
>>>> > Is there already a ready-to-use solution for storing login data (API 
>>>> > keys) for apps? Ks Sailfish Secrets the way to go here
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Secure storage for login data

2019-06-12 Thread Dylan Van Assche via Devel
Sailfish Secrets would be ideal. QtKeychain is also possible but KWallet is 
missing.

A Sailfish Secrets C++ example on Github would be very handy!

Kind regards,
Dylan

Sent from ProtonMail mobile

 Original Message 
On 12 Jun 2019 22:41, Андрей Кожевников wrote:

> share sample project to github pleaes
>
> ср, 12 июн. 2019 г. в 23:30, Damien Caliste :
>
>> Hello,
>>
>> Indeed, sailfish secrets allow to store encrypted data. I can send an 
>> example here in C++, and there are C bindings also.
>>
>> Damien.
>>
>>> Le Mercredi 12 juin 2019, Dylan Van Assche via Devel a écrit :
>>> > Hi,
>>> >
>>> > Is there already a ready-to-use solution for storing login data (API 
>>> > keys) for apps? Ks Sailfish Secrets the way to go here
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Secure storage for login data

2019-06-12 Thread Dylan Van Assche via Devel
Hi,

Is there already a ready-to-use solution for storing login data (API keys) for 
apps? Ks Sailfish Secrets the way to go here?
If not, any suggestions? I just don't want to save sensitive data like API keys 
in plain text.

Kind regards,
Dylan

Sent from ProtonMail mobile___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Postponed] Sailfish OS, Open Source Community Collaboration meeting on May 2nd 2019 at 08:00 UTC

2019-05-02 Thread Dylan Van Assche via Devel
Hi James,

I wish you a quick recovery!

Cheers,
Dylan Van Assche

Sent from ProtonMail mobile

 Original Message 
On 2 May 2019 09:58, James Noori wrote:

> Hi all,
>
> Sorry for the super short notice but unfortunately the meeting needs to be 
> postponed due to me being food poisoned yesterday and being unable to send 
> out emails in time.
>
> Next meeting will be held on May 16th 2019 at 08:00 UTC.
>
> You can announce your topics at the planning page: 
> together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/
>
> Cheers,
> James___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] qt upgrade

2019-02-09 Thread Dylan Van Assche via Devel
Hi,

I would really like this! Getting Qt 5.12 on SFOS would be great :) This way we 
can keep up with the LTS releases of Qt, this would speed up the development of 
SFOS apps.

Kind regards,
Dylan Van Assche

Sent from ProtonMail mobile

 Original Message 
On 9 Feb 2019 18:44, rinigus wrote:

> Hi,
>
> sounds like there are porting and licensing issues on the way of getting qt 
> 5.9 for SFOS (see logs from the last #mer-meeting). Its all understandable, 
> but it would be great to get a way forward. Not sure whether it has been 
> considered by others and I wonder whether we can make a separate Qt 5.12 
> packages for /opt/qt512?
>
> From a quick test, it is possible to run non-silica applications as well 
> (tested with qmlscene and QML with plain Window). In that test, even keyboard 
> worked as expected. Look was non-native, but let it be for now.
>
> So, I wonder, whether its possible to get Qt 5.12 compiled with /opt/qt512 
> prefix and then use it for development using the latest libs (new web 
> browser?) and collaborate with other mobile Linux'es out there. As far as I 
> remember, Wayland was rather old and, maybe, it will preclude Qt 5.12 
> compilation. @mal, though, had a newer version around and it may serve a 
> purpose for such project. Is there anything else that should be considered?
>
> Cheers,
>
> Rinigus
>
> PS: Please consider it as request-for-comment and not as any kind of 
> statement nor call-for-action :)___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A probably stupid question

2018-10-22 Thread Dylan Van Assche via Devel
Hi,

Thanks! Leszek does most of the work on Youtube :) I keep myself busy with 
Tinder, Facebook, ... clients :)
From what I experienced with Sailbook, a webapp for Facebook, QtWebkit is way 
out of date. Leszek's update makes it a bit better but Facebook is still a PITA.
I gave up a couple months ago, I just wait until QtWebEngine comes around.

Passing command line arguments can be done in C++: argc (the amount of 
arguments) and argv (a list of arguments as strings) are at your service. In 
QML you can access them using this guide: 
https://together.jolla.com/question/31188/qml-argument-access/

Kind regards,
Dylan Van Assche


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Monday, 22 October 2018 17:53, dep  wrote:

> Thanks, Leszek and Dylan (I enjoy both of your YouTube work, btw, and have
> learned from it).
>
> I'd wondered if it would be foolish to try anything before SFOS 3, given
> the amount of stuff that seems to have gotten broken between even minor
> upgrades in the past. It seems as if waiting is the smarter approach at
> this point.
>
> (Besides -- the last time I did any coding at all was during KDE-1.x, close
> to 20 years ago, and even that was minor hacking. So perhaps I should be
> working for an app for SFOS 4 . . . may take me that long to get up to
> speed!)
>
> While I'm here -- is there any mechanism for easily passing commandline
> parameters to an application and giving that application, with the
> parameters, an icon?
>
> -
>
> dep
>
> Sent with ProtonMail Secure Email. Because privacy matters.
>
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] A probably stupid question

2018-10-22 Thread Dylan Van Assche via Devel
I'm also a Protonmail user, I tried this in the past but I wasn't able to 
achieve this goal.
Currently, I'm a bit busy but I am hoping on QtWebEngine for SFOS. If we have 
that available at our disposal, a Protonmail webapp would be doable with 
notifications and stuff I think. Chromium support web notifications out of the 
box normally.

Kind regards,
Dylan Van Assche

P.S.: No questions are stupid ;-), if you have any questions, please ask!


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Monday, 22 October 2018 17:27, dep  wrote:

> Hi, everybody . . .
>
> A few days ago I posted here looking for a webapp framework, and I'm
> starting to think I asked the wrong question.
>
> I think I'm looking for source for the most basic of web browsers, that can
> be modified to become a ProtonMail application. I think it needs to be
> gecko-based because while I can log in to the ProtonMail webmail page via
> the Jolla browser, I can't with either Web Pirate or Webcat. I have no
> idea why, except that with the Jolla browser I can enter in the login
> information and it gets accepted by ProtonMail, while both of the others
> throw an incorrect login information error.
>
> The idea would be to produce a lightweight browser with the
> protonmail.com/login page hardcoded. But wait (as they say on television
> ads) there's more: I'd hope to add notifications, preferably via daemon in
> the same way that we can get texts without the Messages app being open,
> and a proper download path for attachments and such -- the Android app
> that sorta-kinda works wants to dump studd into ~/android_storage/Download
> instead of just ~/Download. (This last is a minor thing -- I could make
> ~/android_storage/Download a symlink to ~/Download, though that's a
> kludge.)
>
> In that I haven't the slightest idea how to do any of the above (except the
> symlink), I hope to avoid reinventing the wheel. So I hope there's a very
> basic browser out there that can be hacked rather than my trying to
> reinvent the wheel with little knowledge other than wheels being round.
>
> Is there such a thing?
>
> Thanks!
>
> 
>
> dep
>
> Sent with ProtonMail Secure Email. Because privacy matters.
>
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] ListView boundaries

2018-10-21 Thread Dylan Van Assche via Devel
Hi,

I looked at the Qt docs of QML ListView and QML Flickable but I couldn't find a 
way to detect if the user is at the boundaries of a ListView. When you do that 
in a SilicaListView, the view fades out. How can I access that property?

Qt 5.9 provides a special signal for this, but SFOS is still at 5.6 atm.

Kind regards,
Dylan Van Assche

Sent from ProtonMail mobile___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Dylan Van Assche via Devel
Hi Martin,

Oh okay :) I'm still struggling with the spec file.
If I remove those lines I mentioned the build fails again.

My goal: Remove the icons, desktop file, ... to reduce it to a simple command 
line tool: qrail-tests in the terminal should be the only thing I need.
I updated my source code on the development branch. It's building but with a 
desktop file, icons, ...

Kind regards,
Dylan

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On 15 August 2018 9:04 AM, Martin Kampas  wrote:

> Hi Dylan,
>
> Sounds reasonable. The "console" CONFIG option will have any effect on 
> win32-only. It is not needed on other OSes.
>
> BR,
> Martin
>
> ---
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Wednesday, August 15, 2018 9:34 AM
> To: Sailfish OS Developers mailing list
> Subject: Re: [SailfishDevel] RPM build error
>
> Hi,
>
> Thanks for the help! Removing that line in my spec file fixed the problem.
> David's solution is the same by adding some stuff to copy for that line in 
> the spec file and works too :)
>
> Since we're talking about spec files, I only care about a simple console 
> application for the tests.
> If I remove the following things from the spec file:
> - %{_datadir}/applications/%{name}.desktop
> - %{_datadir}/icons/hicolor/*/apps/%{name}.png
>
> And set the CONFIG in the pro file from sailfishapp to console I can build a 
> console application for Sailfish OS I think?
>
> Kind regards,
> Dylan Van Assche
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> On 15 August 2018 6:02 AM, Martin Kampas  wrote:
>
>> Hi Dylan,
>>
>> I believe the reason for this error is that you list "%{_datadir}/%{name}" 
>> under the "%files" section in qrail.spec while it is not being created by 
>> the "%install" step. I couldn't verify because for me there are more errors 
>> that prevent the build to proceed that far.
>>
>> BR,
>> Martin
>>
>> ---
>>
>> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
>> Assche via Devel [devel@lists.sailfishos.org]
>> Sent: Tuesday, August 14, 2018 8:20 PM
>> To: Sailfish OS Developers mailing list
>> Subject: [SailfishDevel] RPM build error
>>
>> Hi,
>>
>> I'm having some trouble with building my test application for my QRail 
>> shared library.
>> The RPM can't be build for some reason, I'm not sure why...
>>
>> error: File not found: /home/deploy/installroot/usr/share/qrail-tests File 
>> not found: /home/deploy/installroot/usr/share/qrail-tests
>>
>> 19:58:02: The process 
>> "/home/dylan/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build 
>> Engine/SailfishOS-2.2.0.29-armv7hl/deploy" exited with code 1.
>> Error while building/deploying project qrail-tests (kit: 
>> SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine))
>> The kit SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine) has 
>> configuration issues which might be the root cause for this problem.
>> When executing step "RPM"
>>
>> I haven't seen this error in any other project I did with the Sailfish SDK, 
>> I haven absolutely no idea what the cause of this is.
>> Here's a link to my Github repo where you can find my code: 
>> https://github.com/DylanVanAssche/QRail. The application is in the folder 
>> 'tests', which provides tests for the QRail library.
>>
>> Any idea's?
>>
>> Kind regards,
>> Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] RPM build error

2018-08-15 Thread Dylan Van Assche via Devel
Hi,

Thanks for the help! Removing that line in my spec file fixed the problem.
David's solution is the same by adding some stuff to copy for that line in the 
spec file and works too :)

Since we're talking about spec files, I only care about a simple console 
application for the tests.
If I remove the following things from the spec file:
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/icons/hicolor/*/apps/%{name}.png

And set the CONFIG in the pro file from sailfishapp to console I can build a 
console application for Sailfish OS I think?

Kind regards,
Dylan Van Assche

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On 15 August 2018 6:02 AM, Martin Kampas  wrote:

> Hi Dylan,
>
> I believe the reason for this error is that you list "%{_datadir}/%{name}" 
> under the "%files" section in qrail.spec while it is not being created by the 
> "%install" step. I couldn't verify because for me there are more errors that 
> prevent the build to proceed that far.
>
> BR,
> Martin
>
> ---
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Tuesday, August 14, 2018 8:20 PM
> To: Sailfish OS Developers mailing list
> Subject: [SailfishDevel] RPM build error
>
> Hi,
>
> I'm having some trouble with building my test application for my QRail shared 
> library.
> The RPM can't be build for some reason, I'm not sure why...
>
> error: File not found: /home/deploy/installroot/usr/share/qrail-tests File 
> not found: /home/deploy/installroot/usr/share/qrail-tests
>
> 19:58:02: The process 
> "/home/dylan/.config/SailfishOS-SDK/mer-sdk-tools/Sailfish OS Build 
> Engine/SailfishOS-2.2.0.29-armv7hl/deploy" exited with code 1.
> Error while building/deploying project qrail-tests (kit: 
> SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine))
> The kit SailfishOS-2.2.0.29-armv7hl (in Sailfish OS Build Engine) has 
> configuration issues which might be the root cause for this problem.
> When executing step "RPM"
>
> I haven't seen this error in any other project I did with the Sailfish SDK, I 
> haven absolutely no idea what the cause of this is.
> Here's a link to my Github repo where you can find my code: 
> https://github.com/DylanVanAssche/QRail. The application is in the folder 
> 'tests', which provides tests for the QRail library.
>
> Any idea's?
>
> Kind regards,
> Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Unittests in seperate application

2018-07-19 Thread Dylan Van Assche via Devel
Hi,

For my BeRail project/thesis I would like to create some unit tests.
I already managed to get the QtTest framework to work in SFOS but it's launched 
from the application main. If I use the macro to create a test main:

QTEST_MAIN

(

TestClass

)

then I get the compile error: multiple main() defined.

I would like to move the unit tests to a separate console application which I 
can run in the build engine command line. I have absolutely no idea where to 
start with this.
I look on the Internet already, but I couldn't find not much interesting about 
this topic...

Can someone help me out with this one?

Kind regards,
Dylan Van Assche

Sent with [ProtonMail](https://protonmail.com) Secure Email.___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] QDoc tool in the SDK

2018-03-28 Thread Dylan Van Assche via Devel
Hi,

Is the qdoc tool available in the Sailfish SDK installation? I looked for it in 
the SDK folders but I can't find it... I need it to build the QtFeedback docs.

Cheers,
Dylan Van Assche

Verzonden met ProtonMail Mobile___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Watch virtual keyboard state

2018-01-28 Thread Dylan Van Assche via Devel
Hi,

For a messaging client I need to watch the virtual keyboard state, when it's 
opened or closed I need to adjust my SilicaListView to the right position.

I tried already this:

Connections {
target: Qt.inputMethod
onVisibleChanged: {
console.debug("Keyboard visible: " + visible)
messagesListView.scrollToBottom()
}
}

But due this Qt bug: https://bugreports.qt.io/browse/QTBUG-36909 this solution 
isn't working.
I saw that a DBus interface is exposed from com.jolla.keyboard but I haven't 
managed yet to talk to it about the keyboard state.

Anyone an idea for this?

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Nemo Thumbnailer not generating thumbnails

2018-01-19 Thread Dylan Van Assche via Devel
Hi,

I'm trying to include Nemo.Thumbnailer 1.0 into my Sailfinder application. I 
want to have access to the profile images which are stored on an external 
server.
Using the QML Image {} the image is displayed when using Thumbnail {} it's 
transparent.

Can Nemo.Thumbnail not fetch images from an external URL? I think that's the 
main purpose of the Thumbnailer so it should be possible.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Best way to seperate QTests

2018-01-04 Thread Dylan Van Assche via Devel
Not that I know of... That's why I post it on the Devel list.

>  Original Message 
> Subject: Re: [SailfishDevel] Best way to seperate QTests
> Local Time: 4 January 2018 8:56 AM
> UTC Time: 4 January 2018 07:56
> From: t.schmittlauch...@orlives.de
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
> Chris Adams <chris.ad...@jolla.com>
>
>> What's the best way to do this in Sailfish OS? I want to avoid that my 
>> QTests would land in the RPM package that's uploaded on Openrepos/Harbour 
>> (RELEASE mode).
>
> I partly mentioned the problem in an earlier community meeting [1], back the 
> Chris Adams was the person to ask regarding that. But AFAIK nothing has 
> happened since then, right?
>
> [1]___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Best way to seperate QTests

2018-01-03 Thread Dylan Van Assche via Devel
Hi,

I saw that Jolla seperates all it's QTests into seperate packages.
What's the best way to do this in Sailfish OS? I want to avoid that my QTests 
would land in the RPM package that's uploaded on Openrepos/Harbour (RELEASE 
mode).
But when I'm developing I would like to have these tests running in DEBUG mode.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Get it in the Jolla Store

2017-12-26 Thread Dylan Van Assche via Devel
Hi,

All ports already have access to the Jolla Store, but only official devices 
will see Exchange, Alien Dalvik and XT9 under the Jolla Apps.
There's some kind detection mechamism already available to Jolla to make a 
difference between devices.

Kind regards,
Dylan Van Assche

>  Original Message 
> Subject: Re: [SailfishDevel] Get it in the Jolla Store
> Local Time: 26 December 2017 11:26 AM
> UTC Time: 26 December 2017 10:26
> From: zoltan.lu...@gmail.com
> To: dylan.van.ass...@protonmail.com
> devel@lists.sailfishos.org
>
> I meant 'having access for all to the store' could bring up licensing issues 
> for Jolla (Alien Dalvik, Exchange)
>
> But for the push: OK! ;)
>
> On Tuesday, December 26, 2017, Dylan Van Assche via Devel wrote:
>
>> Hi,
>> Thanks :)
>>
>> - Webview of the store isn't available yet. But this can be a push for Jolla 
>> to make one
>> - Alien Dalvik is for Android apps only, I develop Sailfish OS apps so for 
>> me it's not a big issue. But I understand that this may be an issue for 
>> Android developers.
>>
>> Kind regards,
>> Dylan Van Assche
>>
>>>  Original Message 
>>> Subject: Re: [SailfishDevel] Get it in the Jolla Store
>>> Local Time: 26 December 2017 9:36 AM
>>> UTC Time: 26 December 2017 08:36
>>> From: zoltan.lu...@gmail.com
>>> To: dylan.van.ass...@protonmail.com
>>> devel@lists.sailfishos.org
>>> Hi,
>>> First of all, fully supporting tge idea but I think there are issues with 
>>> it:
>>>
>>> - there is no 'web view' of the store (AFAIK)
>>> - wouldn't it bring up issues related to access to the store? E.g. from 
>>> community port devices (Alien Dalvik/Exchange)
>>>
>>> But if it is not an issue, +1 from me.
>>> Zoltan
>>> On Tuesday, December 26, 2017, Dylan Van Assche via Devel wrote:
>>>
>>>> Hi,
>>>> Has Jolla an equivalent of the Google/Apple/Windows store icon: "Get it in 
>>>> the Jolla Store"?
>>>> If not, this a small effort and would promote the Jolla Store across the 
>>>> web.
>>>> Kind regards,
>>>> Dyl___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Get it in the Jolla Store

2017-12-26 Thread Dylan Van Assche via Devel
Hi,

Thanks :)

- Webview of the store isn't available yet. But this can be a push for Jolla to 
make one
- Alien Dalvik is for Android apps only, I develop Sailfish OS apps so for me 
it's not a big issue. But I understand that this may be an issue for Android 
developers.

Kind regards,
Dylan Van Assche

>  Original Message 
> Subject: Re: [SailfishDevel] Get it in the Jolla Store
> Local Time: 26 December 2017 9:36 AM
> UTC Time: 26 December 2017 08:36
> From: zoltan.lu...@gmail.com
> To: dylan.van.ass...@protonmail.com
> devel@lists.sailfishos.org
>
> Hi,
>
> First of all, fully supporting tge idea but I think there are issues with it:
>
> - there is no 'web view' of the store (AFAIK)
> - wouldn't it bring up issues related to access to the store? E.g. from 
> community port devices (Alien Dalvik/Exchange)
>
> But if it is not an issue, +1 from me.
>
> Zoltan
>
> On Tuesday, December 26, 2017, Dylan Van Assche via Devel wrote:
>
>> Hi,
>> Has Jolla an equivalent of the Google/Apple/Windows store icon: "Get it in 
>> the Jolla Store"?
>> If not, this a small effort and would promote the Jolla Store across the web.
>> Kind regards,
>> Dyla___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Get it in the Jolla Store

2017-12-26 Thread Dylan Van Assche via Devel
Hi,

Has Jolla an equivalent of the Google/Apple/Windows store icon: "Get it in the 
Jolla Store"?
If not, this a small effort and would promote the Jolla Store across the web.

Kind regards,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Increase buildspeed of the Application SDK

2017-12-20 Thread Dylan Van Assche via Devel
Hi,

Is it possible to increase the build speed of C++ apps in the Application SDK?
I can asign more CPUs and RAM in the VM manager but it seems that the 
Application SDK builds applications with the -j1 MAKE flag (max 1 job).

Is there anything I can do to increase the build speed? Big C++ apps like the 
browser take a lot of time.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] LED pattern on notification

2017-11-30 Thread Dylan Van Assche via Devel
Hi,

Is it possible to use the Nemo Notification plugin directly to enable a LED 
pattern when a notification is published?

I also found the DBus MCE interface to control the LED however only 
PatternPowerOff and PatternPowerOn seems to work?

Kind regards,

Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour compatible background apps?

2017-11-25 Thread Dylan Van Assche via Devel
Hi CODeRUS,

Oh I didn't know that Screentapshot used this approach, thanks a lot!

Cheers,
Dylan Van Assche

>  Original Message 
> Subject: Re: [SailfishDevel] Harbour compatible background apps?
> Local Time: 25 November 2017 10:41 AM
> UTC Time: 25 November 2017 09:41
> From: coderusin...@gmail.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
>
> Hello, yes this is harbour-compatible.
> For example i have this app published in store: 
> https://github.com/CODeRUS/harbour-screentapshot
>
> 2017-11-25 12:34 GMT+03:00 Dylan Van Assche via Devel 
> <devel@lists.sailfishos.org>:
>
>> Hi Devs,
>>
>> I found a repo from CODeRUS with an example of a background app:
>> https://github.com/CODeRUS/background-application-example/tree/master/src
>>
>> Is this Harbour compatible? The Harbour FAQ allows this AFAIK since it's not 
>> a real daemon, it just hides the UI from the screen while that the C++ 
>> backend still runs.
>> If so, this would be great to send notifications in the background and when 
>> the user clicks on the notification, we can show the UI by calling it's DBus 
>> endpoint.
>>
>> Kind regards,
>> Dylan Van Assche
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Harbour compatible background apps?

2017-11-25 Thread Dylan Van Assche via Devel
Hi Devs,

I found a repo from CODeRUS with an example of a background app:
https://github.com/CODeRUS/background-application-example/tree/master/src

Is this Harbour compatible? The Harbour FAQ allows this AFAIK since it's not a 
real daemon, it just hides the UI from the screen while that the C++ backend 
still runs.
If so, this would be great to send notifications in the background and when the 
user clicks on the notification, we can show the UI by calling it's DBus 
endpoint.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK auto setter/getter

2017-10-30 Thread Dylan Van Assche via Devel
Hi Martin,

Now it works! Thanks, my life just got a lot easier.

Kind regards,
Dylan Van Assche

>  Original Message 
> Subject: RE: [SailfishDevel] SDK auto setter/getter
> Local Time: 30 October 2017 10:18 AM
> UTC Time: 30 October 2017 09:18
> From: martin.kam...@jolla.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
>
> Hi Dylan,
>
> Tried with Sailfish OS SDK 1709 on Linux. It works for me. Whenever I had 
> cursor on the identifier (not after semicolon or before preceding space) the 
> menu popped up on ALT+ENTER. It didn't pop up when the getter and setter 
> already existed.
>
> BR,
> Martin
>
> ---
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Friday, October 27, 2017 6:03 PM
> To: Sailfish OS Developers mailing list
> Subject: [SailfishDevel] SDK auto setter/getter
>
> Hi,
>
> I'm rewriting my Sailfish OS apps with a C++ backend by following the 
> encapsulation rules.
> This implies that I need a get/set for each C++ class so I searched online if 
> QtCreator cannot generate these automatically and it should do it: 
> https://stackoverflow.com/questions/21142940/how-to-make-getter-and-setter-methods-in-qt-creator-automatically
> However, the Sailfish OS QtCreator doesn't seem to do this when I press ALT + 
> ENTER on a member variable, the same for the Refactor option.
>
> Is it disabled or am I doing something wrong?
> Writing each setter/getter myself takes a lot of time...
>
> Kind regards,
> Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] SDK auto setter/getter

2017-10-27 Thread Dylan Van Assche via Devel
Hi,

I'm rewriting my Sailfish OS apps with a C++ backend by following the 
encapsulation rules.
This implies that I need a get/set for each C++ class so I searched online if 
QtCreator cannot generate these automatically and it should do it: 
https://stackoverflow.com/questions/21142940/how-to-make-getter-and-setter-methods-in-qt-creator-automatically
However, the Sailfish OS QtCreator doesn't seem to do this when I press ALT + 
ENTER on a member variable, the same for the Refactor option.

Is it disabled or am I doing something wrong?
Writing each setter/getter myself takes a lot of time...

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Installing Nemo Notification C++ in EA SDK

2017-09-13 Thread Dylan Van Assche via Devel
Hi Martin,

I already tried that, I get this then:

[nemo@SailfishSDK ~]$ sdk-manage --target --list
/home/nemo/.scratchbox2 missing, create some targets with sb2-init!
[nemo@SailfishSDK ~]$ sdk-manage --devel --install SailfishOS-armv7hl 
nemo-qml-plugin-notifications-qt5
Target SailfishOS-armv7hl is not a valid Scratchbox2 target

Building apps isn't an issue so I don't get why the SDK can't find the target.

Kind regards,
Dylan Van Assche

>  Original Message 
> Subject: RE: [SailfishDevel] Installing Nemo Notification C++ in EA SDK
> Local Time: 13 September 2017 8:28 AM
> UTC Time: 13 September 2017 06:28
> From: martin.kam...@jolla.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
>
> Hi Dylan,
>
> Please find the answer in this thread 
> https://lists.sailfishos.org/pipermail/devel/2017-September/007991.html
>
> BR,
> Martin
>
> ---
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Wednesday, September 13, 2017 8:22 AM
> To: Sailfish OS Developers mailing list
> Subject: [SailfishDevel] Installing Nemo Notification C++ in EA SDK
>
> Hi,
>
> For some reason I can't install the Nemo Notification plugin in the EA SDK. I 
> would like to use it in my C++ code.
> This is what I get when installing a package:
>
> finished: installing packages - exited with status 0
>
> (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: warning: 
> /var/cache/zypp/packages/jolla/mw/armv7hl/nemo-qml-plugin-notifications-qt5-1.1.0-1.17.2.armv7hl.rpm:
>  Header V3 DSA/SHA1 Signature, key ID 3647af9c: NOKEY
> error: Unable to open current directory: No such file or directory
>
> Problem occured during or after installation or removal of packages:
> Installation aborted by user
>
> Synchronising target to host
> Sync completed
>
> I don't know why it's aborted or can't find it's packages... It worked before.
> Running on OpenSUSE Tumbleweed X64
>
> Kind regards,
> Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Installing Nemo Notification C++ in EA SDK

2017-09-13 Thread Dylan Van Assche via Devel
Hi,

For some reason I can't install the Nemo Notification plugin in the EA SDK. I 
would like to use it in my C++ code.
This is what I get when installing a package:

finished: installing packages - exited with status 0

(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: warning: 
/var/cache/zypp/packages/jolla/mw/armv7hl/nemo-qml-plugin-notifications-qt5-1.1.0-1.17.2.armv7hl.rpm:
 Header V3 DSA/SHA1 Signature, key ID 3647af9c: NOKEY
error: Unable to open current directory: No such file or directory

Problem occured during or after installation or removal of packages:
Installation aborted by user

Synchronising target to host
Sync completed

I don't know why it's aborted or can't find it's packages... It worked before.
Running on OpenSUSE Tumbleweed X64

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QT String issue

2017-09-12 Thread Dylan Van Assche via Devel
Hi Martin,

Thanks! That did the trick :)

Cheers,
Dylan

>  Original Message 
> Subject: RE: [SailfishDevel] QT String issue
> Local Time: 12 September 2017 2:39 PM
> UTC Time: 12 September 2017 12:39
> From: martin.kam...@jolla.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
>
> Hi Dylan,
>
> The backslashes you see in the output are only added when you print the 
> string, not actual characters of the string:
>
> "\"Intex Aqua Fish\""
>
> So what you need is to replace just the doublequotes - try data.replace("\"", 
> "") or better data.remove('"').
>
> BR,
> Martin
>
> -----------
>
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of Dylan Van 
> Assche via Devel [devel@lists.sailfishos.org]
> Sent: Tuesday, September 12, 2017 2:23 PM
> To: Sailfish OS Developers mailing list
> Subject: Re: [SailfishDevel] QT String issue
>
> Hi Dmitriy,
>
> For some reason, it doesn't work...
>
> QStringdata=line.split('=',QString::SkipEmptyParts).at(1);
>
> data
>
> .
>
> replace
>
> (
>
> "\\\""
>
> ,
>
> ""
>
> );
>
> dataList
>
> .
>
> append
>
> (
>
> qMakePair
>
> (
>
> querry
>
> ,
>
> data
>
> ));
>
> This is my code now, but the result is still the same for some reason.
> I think I do something still wrong :(
>
> Cheers,
> Dylan
>
>>  Original Message 
>> Subject: Re: [SailfishDevel] QT String issue
>> Local Time: 12 September 2017 2:13 PM
>> UTC Time: 12 September 2017 12:13
>> From: dylan.van.ass...@protonmail.com
>> To: Sailfish OS Developers mailing list <devel@lists.sailfishos.org>
>>
>> Hi Dmitriy,
>>
>> Thanks for the information! I just started to learn QT C++ :)
>>
>> Cheers,
>> Dylan
>>
>>>  Original Message 
>>> Subject: Re: [SailfishDevel] QT String issue
>>> Local Time: 12 September 2017 12:41 PM
>>> UTC Time: 12 September 2017 10:41
>>> From: dpur...@gmail.com
>>> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
>>> Developers <devel@lists.sailfishos.org>
>>>
>>> Hi Dylan,
>>> trimmed() removes whitespaces only. You need to replace \" with an empty 
>>> string and "escape" both \ and ". You need escaping because this is how 
>>> string literals in C/C++ work. Try calling str.replace("\\\"", ""), where 
>>> str an object of QString.
>>>
>>> Also note that trimmed() is a const method and does not change the object 
>>> for which it was called. I.e.
>>>
>>> QString str1 = "  a  ";
>>> str1.trimmed();
>>> // str1 is unchanged but returns a QString object which is "a"
>>>
>>> Cheers
>>> Dmitriy
>>>
>>> On Tue, Sep 12, 2017 at 12:25 PM, Dylan Van Assche via Devel  
>>> <[devel@lists.sailfishos.org](redir.aspx?REF=hSOZmXePy6vw3rU4NUCBUwLqgjh9Mo0neXylsazEc6WCX10P2vnUCAFtYWlsdG86ZGV2ZWxAbGlzdHMuc2FpbGZpc2hvcy5vcmc.)>
>>>  wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm reading the sfos-release and the hw-release file in /etc from C++ but 
>>>> for some lines I get this in my strings as output:
>>>>
>>>> "\"Intex Aqua Fish\""
>>>>
>>>> I tried trimmed() and remove() but I can't figure out how to clean it 
>>>> correctly. The \" characters are annoying.
>>>>
>>>> Kind regards,
>>>> Dylan Van Assche
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to 
>>>> [devel-unsubscr...@lists.sailfishos.org](redir.aspx?REF=8vYPlC46P7_sdO41Gm9TecKuKsnmL9m4tfz011wxDyj8wF8P2vnUCAFtYWlsdG86ZGV2ZWwtdW5zdWJzY3JpYmVAbGlzdHMuc2FpbGZpc2hvcy5vcmc.)___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QT String issue

2017-09-12 Thread Dylan Van Assche via Devel
Hi Dmitriy,

For some reason, it doesn't work...

QStringdata=line.split('=',QString::SkipEmptyParts).at(1);

data

.

replace

(

"\\\""

,

""

);

dataList

.

append

(

qMakePair

(

querry

,

data

));

This is my code now, but the result is still the same for some reason.
I think I do something still wrong :(

Cheers,
Dylan

>  Original Message 
> Subject: Re: [SailfishDevel] QT String issue
> Local Time: 12 September 2017 2:13 PM
> UTC Time: 12 September 2017 12:13
> From: dylan.van.ass...@protonmail.com
> To: Sailfish OS Developers mailing list <devel@lists.sailfishos.org>
>
> Hi Dmitriy,
>
> Thanks for the information! I just started to learn QT C++ :)
>
> Cheers,
> Dylan
>
>>  Original Message 
>> Subject: Re: [SailfishDevel] QT String issue
>> Local Time: 12 September 2017 12:41 PM
>> UTC Time: 12 September 2017 10:41
>> From: dpur...@gmail.com
>> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
>> Developers <devel@lists.sailfishos.org>
>>
>> Hi Dylan,
>> trimmed() removes whitespaces only. You need to replace \" with an empty 
>> string and "escape" both \ and ". You need escaping because this is how 
>> string literals in C/C++ work. Try calling str.replace("\\\"", ""), where 
>> str an object of QString.
>>
>> Also note that trimmed() is a const method and does not change the object 
>> for which it was called. I.e.
>>
>> QString str1 = "  a  ";
>> str1.trimmed();
>> // str1 is unchanged but returns a QString object which is "a"
>>
>> Cheers
>> Dmitriy
>>
>> On Tue, Sep 12, 2017 at 12:25 PM, Dylan Van Assche via Devel 
>> <devel@lists.sailfishos.org> wrote:
>>
>>> Hi,
>>>
>>> I'm reading the sfos-release and the hw-release file in /etc from C++ but 
>>> for some lines I get this in my strings as output:
>>>
>>> "\"Intex Aqua Fish\""
>>>
>>> I tried trimmed() and remove() but I can't figure out how to clean it 
>>> correctly. The \" characters are annoying.
>>>
>>> Kind regards,
>>> Dylan Van Assche
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QT String issue

2017-09-12 Thread Dylan Van Assche via Devel
Hi Dmitriy,

Thanks for the information! I just started to learn QT C++ :)

Cheers,
Dylan

>  Original Message 
> Subject: Re: [SailfishDevel] QT String issue
> Local Time: 12 September 2017 12:41 PM
> UTC Time: 12 September 2017 10:41
> From: dpur...@gmail.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers <devel@lists.sailfishos.org>
>
> Hi Dylan,
> trimmed() removes whitespaces only. You need to replace \" with an empty 
> string and "escape" both \ and ". You need escaping because this is how 
> string literals in C/C++ work. Try calling str.replace("\\\"", ""), where str 
> an object of QString.
>
> Also note that trimmed() is a const method and does not change the object for 
> which it was called. I.e.
>
> QString str1 = "  a  ";
> str1.trimmed();
> // str1 is unchanged but returns a QString object which is "a"
>
> Cheers
> Dmitriy
>
> On Tue, Sep 12, 2017 at 12:25 PM, Dylan Van Assche via Devel 
> <devel@lists.sailfishos.org> wrote:
>
>> Hi,
>>
>> I'm reading the sfos-release and the hw-release file in /etc from C++ but 
>> for some lines I get this in my strings as output:
>>
>> "\"Intex Aqua Fish\""
>>
>> I tried trimmed() and remove() but I can't figure out how to clean it 
>> correctly. The \" characters are annoying.
>>
>> Kind regards,
>> Dylan Van Assche
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] QT String issue

2017-09-12 Thread Dylan Van Assche via Devel
Hi,

I'm reading the sfos-release and the hw-release file in /etc from C++ but for 
some lines I get this in my strings as output:

"\"Intex Aqua Fish\""

I tried trimmed() and remove() but I can't figure out how to clean it 
correctly. The \" characters are annoying.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Retrieve application version

2017-09-03 Thread Dylan Van Assche via Devel
Hi,

I'm trying to update the application version everytime I change it in the .SPEC 
file but it seems that there's no Harbour allowed API is available to querry 
the application version when running?
My last help would be parsing a "pkcon search name " but if there's a 
better method available, that would be great.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Read device info

2017-08-19 Thread Dylan Van Assche via Devel
Hi,

Thanks for the comments :)
I will take a look at those files...

Cheers,
Dylan

>  Original Message 
> Subject: Re: [SailfishDevel] Read device info
> Local Time: 18 August 2017 1:59 PM
> UTC Time: 18 August 2017 11:59
> From: penkr...@gmail.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS 
> Developers mailing list <devel@lists.sailfishos.org>
>
> All software updates are distributed with OTAs and each OTA should increment 
> Sailfish version number, so knowing this number should be enough.
> And it's easier to obtain. Do apps even have any access to PackageKit?
>
> Cheers,
> Andrew Penkrat
>
> On Fri, 18 Aug 2017 at 14:47 Adam Pigg <a...@piggz.co.uk> wrote:
>
>> Would it not be better to query the version of required packages?
>>
>> On Fri, 18 Aug 2017 at 12:46 Andrew Penkrat <penkr...@gmail.com> wrote:
>>
>>> Hi Dylan,
>>>
>>> You can read SFOS version from VERSION_ID line of /etc/os-release and 
>>> device name from NAME line of /etc/hw-release. Though it claims my Jolla C 
>>> is actually an Intex Aqua Fish :)
>>>
>>> Cheers,
>>> Andrew Penkrat
>>>
>>> On Fri, 18 Aug 2017 at 13:44 Dylan Van Assche via Devel 
>>> <devel@lists.sailfishos.org> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Does somebody has a way to read the information displayed on the About 
>>>> Page in Settings?
>>>> I would like to retrieve the SFOS version, Device name, ... not for 
>>>> spying/collecting data (totally against that) but to check if some new 
>>>> features of SFOS are available for my apps.
>>>>
>>>> Kind regards,
>>>> Dylan Van Assche
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to 
>>>> devel-unsubscr...@lists.sailfishos.org
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Read device info

2017-08-18 Thread Dylan Van Assche via Devel
Hi devs,

Does somebody has a way to read the information displayed on the About Page in 
Settings?
I would like to retrieve the SFOS version, Device name, ... not for 
spying/collecting data (totally against that) but to check if some new features 
of SFOS are available for my apps.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK version 1707 (2.1.1) is released to Early Access

2017-08-01 Thread Dylan Van Assche via Devel
Hi,
Nice improvements!
QML-only will make it for Python devs a lot easier to create a project.
The Sailfish Ambience development is now official supported, will Harbour 
accept then Ambiences soon?
Kind regards,
Dylan

>  Original Message 
> Subject: [SailfishDevel] SDK version 1707 (2.1.1) is released to Early Access
> Local Time: August 1, 2017 3:28 PM
> UTC Time: August 1, 2017 1:28 PM
> From: jarkko.lehtora...@jolla.com
> To: Sailfish OS Developers 
> Hello,
> Today (Aug 1st) at 13:00 UTC we have published new installers and 
> repositories of the Sailfish OS SDK. This SDK release is called 1707 and it 
> matches Jolla Release 2.1.1.
> Please, read the following notes about the Early Access SDK:
> - By using the Early Access SDK developers can test their Sailfish OS apps 
> about a week before the Sailfish OS release is made public
> - During the early access time the Early Access SDK should not be used for 
> submitting apps to the Jolla Harbour
> - The installers for this release of the SDK are available at 
> http://sailfishos.org/wiki/Application_SDK_Early_Access#Latest_Early_Access_SDK_Release
> - Instructions for adding the early access repository into the SDK can be 
> found from 
> http://sailfishos.org/wiki/Application_SDK_Early_Access#Receiving_Early_Access_SDK_Updates_Automatically
> If you add the early access repository into your SDK and have an older beta 
> release of the SDK, you should see an update notification in the Sailfish OS 
> IDE. Otherwise, you will see an update notification in the Sailfish OS IDE, 
> when the Jolla Release 2.1.1 is publicly available to all users.
> SDK content matches Jolla Release 2.1.1.24 (Jämsänjoki). Please see below for 
> detailed information of the changes.
> A couple of things you should be aware of:
> - As before, in this update the build engine, emulator and targets are 
> reinstalled so you will lose all changes you may have made in those - 
> However, if your application packaging is done correctly, rebuilding your 
> projects should reinstall the packages you have been using.
> - Any customization done to SDK (adding new package repositories, adding 
> custom targets, additional source paths) will be removed during the 
> installation process so make your own backup of those before starting the 
> update.
> - If you import existing projects made with a previous version of the 
> Sailfish OS SDK, make sure to select the correct kit in the project 
> configuration step. Both ARM and i486 kits are available.
> - Package repository contents have been updated and consequently using a 
> previous SDK version with these package repositories is not supported.
> - For more information, please see the Application SDK known issues list at 
> https://sailfishos.org/wiki/Application_SDK_Known_Issues.
> Release Content
> SDK IDE (Qt Creator, Qt QmlLive)
> - Refreshed API documentation available in the Help mode (Ctrl+7) in Qt 
> Creator to Jolla release 2.1.1.24 level
> - Added support for QML-only apps development (File > New File or Project > 
> Application > ...)
> - Added support for Sailfish OS Ambience development (File > New File or 
> Project > Other Project > ...)
> - Fixed 
> https://together.jolla.com/question/161896/breakpoint-issue-in-the-sailfish-os-sdk/
> SDK Build engine
> - Build targets refreshed to Jolla release 2.1.1.24 level
> - Harbour RPM validator updated
> * New APIs allowed: Sailfish Pickers
> * New libraries allowed: SQLite3
> * Nemo QML modules naming convention changed from org.nemomobile.* to Nemo.*. 
> The old imports still remain supported for compatibility reasons.
> Emulator
> - Emulator packages refreshed to Jolla release 2.1.1.24 level
> - Fixed initial emulator mode settings
> - Added missing themes for certain emulator modes
> If you have any questions, feel free to either send an email to this mailing 
> list: devel at lists.sailfishos.org, write it up in http://together.jolla.com 
> and tag your issue with "sdk" or send an e-mail to developer-care at 
> jolla.com.
> Happy hacking,
> Jolla SDK Team
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Screenshot DBUS API privacy issue

2017-06-15 Thread Dylan Van Assche via Devel
Hi Jolla,

While playing around with the several (on)official DBUS API's on Sailfish OS I 
discovered that the Screenshot DBUS API is free to use on the SessionBus.
It's handy for some applications to access this API but it doesn't show a 
notification when using it (like you see when you hold both volume buttons).
With this API it's possible to take screenshots of the screen while an 
application is running without notifying the user itself and invade the user 
it's privacy.

I think the notification should be showed in all cases to avoid these apps 
(which are not in the wild as far as I know at the moment), or the API must be 
restricted.

Cheers,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Nemo DBus typedCall

2017-06-15 Thread Dylan Van Assche via Devel
Hi,

Thanks! I totally forgot that one, I have set this property with all the rest 
of my dBus calls and I forgot it here.

Cheers,
Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 15, 2017 3:37 PM
UTC Time: June 15, 2017 1:37 PM
From: rgrnet...@yahoo.com
To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS Developers 
<devel@lists.sailfishos.org>

Hi,

With the risk of being totally wrong (I'm not really into DBus): according to 
the DbusInterface example in this page: [Nemo Mobile D-Bus QML Plugin — Nemo 
Mobile D-Bus QML Plugin 2.0.0 
documentation](http://nemo-qml-plugin-dbus.readthedocs.io/en/latest/#dbusinterface),
 you should set signalsEnabled = true.

Nemo Mobile D-Bus QML Plugin — Nemo Mobile D-Bus QML Plugin 2.0.0 documentation

Regards, rgr

---
From: Dylan Van Assche via Devel <devel@lists.sailfishos.org>
To: Sailfish OS Developers mailing list <devel@lists.sailfishos.org>
Sent: Thursday, June 15, 2017 2:38 PM
Subject: Re: [SailfishDevel] Nemo DBus typedCall

Hi,

I'm trying to listen to the MCE DBUS API for changes from the display and the 
radios.
For some reason, I won't receive the signals while writing on the /request 
endpoint works perfectly.
Someone an idea?

Seems that Slava can make this work: 
https://github.com/monich/harbour-lib/blob/master/src/HarbourSystemState.cpp

DBusInterface {

id

:

dbusFlight

bus

:

DBus.SystemBus

service

:

"com.nokia.mce"

path

:

"/com/nokia/mce/signal"

iface

:

"com.nokia.mce.signal"

//

Signals

function

radio_states_ind

(state)

{

console

.log(

JSON

.stringify(

"MCE

radio

state=

"

+

state

))

}

function

display_status_ind

(state)

{

console

.log(

JSON

.stringify(

"MCE

display

state=

"

+

state

))

}

}

Cheers,
Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 12, 2017 12:00 AM
UTC Time: June 11, 2017 10:00 PM
From: slava.mon...@jolla.com
To: Sailfish OS Developers <devel@lists.sailfishos.org>

Dylan Van Assche <dylan.van.ass...@protonmail.com>

Yes, in that respect the changes are backward compatible. Whatever you are 
getting from GetProperties can be monitored by handling the PropertyChanged 
signals. You just need to be prepared that SetProperty and other calls 
(Connect, Disconnect etc.) may respond with net.connman.Error.PermissionDenied 
if your process doesn't have enough privileges for that.

The idea is that the user has to be reasonably sure that a random app pulled 
from Jolla Store doesn't mess with the system configuration (e.g. doesn't 
enable mobile data behind your back). Most likely, a similar fate is awaiting 
ofono and a few other D-Bus interfaces. Right now Jolla Store apps can do way 
too much over D-Bus. We (well, at least I) will try not to not break backward 
compatibility of D-Bus APIs except when the breakage is absolutely inevitable, 
even though those are not officially supported APIs.

And as always, all these changes are open for close examination at 
git.merproject.org.

Cheers,
-Slava

Can I still monitor for changes and read properties? Can you give a more 
complete view what will change exactly? I am building an universal bridge 
between Python and QML with integrated Platform APIs based on DBUS and other 
stuff.

Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 11, 2017 7:16 PM
UTC Time: June 11, 2017 5:16 PM
From: slava.mon...@jolla.com
To: devel@lists.sailfishos.org
Dylan Van Assche 
[<dylan.van.ass...@protonmail.com>](mailto:dylan.van.ass...@protonmail.com)

And keep in mind that starting with Sailfish OS 2.1.1 non-privileged processes 
won't be able to set this property (as well as do a few other connman things, 
e.g. manipulate the services). In order to be able to use the restricted D-Bus 
APIs you would have to ask the launcher to run your app under nemo:privileged 
but that would automatically disqualify the app from getting accepted to Jolla 
Store. Sailfish OS is getting security conscious!

Cheers,
-Slava

You’re missing the property name. You need:

string:Powered variant:boolean:true

ref:
https://together.jolla.com/question/56437/i-would-like-to-toggle-internet-connectivity-via-terminal-with-dbus/

typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 
'value': valuet}], …);

ref: https://talk.maemo.org/archive/index.php/t-92303.html

-kimmo

From: Devel [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Dylan Van 
Assche via Devel
Sent: 10. kesäkuuta 2017 12:45
To: Sailfish OS Developers mailing list
Subject: [SailfishDevel] Nemo DBus typedCall

Hi devs,

I'm playing around with the Nemo DBus QML plugin but I'm a little bit stuck 
when using the function typedCall().

DBusInterface

{

id

:

wif

Re: [SailfishDevel] Nemo DBus typedCall

2017-06-15 Thread Dylan Van Assche via Devel
Hi,

I'm trying to listen to the MCE DBUS API for changes from the display and the 
radios.
For some reason, I won't receive the signals while writing on the /request 
endpoint works perfectly.
Someone an idea?

Seems that Slava can make this work: 
https://github.com/monich/harbour-lib/blob/master/src/HarbourSystemState.cpp

DBusInterface {

id

:

dbusFlight

bus

:

DBus.SystemBus

service

:

"com.nokia.mce"

path

:

"/com/nokia/mce/signal"

iface

:

"com.nokia.mce.signal"

//

Signals

function

radio_states_ind

(state)

{

console

.log(

JSON

.stringify(

"MCE

radio

state=

"

+

state

))

}

function

display_status_ind

(state)

{

console

.log(

JSON

.stringify(

"MCE

display

state=

"

+

state

))

}

}

Cheers,
Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 12, 2017 12:00 AM
UTC Time: June 11, 2017 10:00 PM
From: slava.mon...@jolla.com
To: Sailfish OS Developers <devel@lists.sailfishos.org>
Dylan Van Assche <dylan.van.ass...@protonmail.com>

Yes, in that respect the changes are backward compatible. Whatever you are 
getting from GetProperties can be monitored by handling the PropertyChanged 
signals. You just need to be prepared that SetProperty and other calls 
(Connect, Disconnect etc.) may respond with net.connman.Error.PermissionDenied 
if your process doesn't have enough privileges for that.

The idea is that the user has to be reasonably sure that a random app pulled 
from Jolla Store doesn't mess with the system configuration (e.g. doesn't 
enable mobile data behind your back). Most likely, a similar fate is awaiting 
ofono and a few other D-Bus interfaces. Right now Jolla Store apps can do way 
too much over D-Bus. We (well, at least I) will try not to not break backward 
compatibility of D-Bus APIs except when the breakage is absolutely inevitable, 
even though those are not officially supported APIs.

And as always, all these changes are open for close examination at 
git.merproject.org.

Cheers,
-Slava

Can I still monitor for changes and read properties? Can you give a more 
complete view what will change exactly? I am building an universal bridge 
between Python and QML with integrated Platform APIs based on DBUS and other 
stuff.

Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 11, 2017 7:16 PM
UTC Time: June 11, 2017 5:16 PM
From: slava.mon...@jolla.com
To: devel@lists.sailfishos.org
Dylan Van Assche 
[<dylan.van.ass...@protonmail.com>](mailto:dylan.van.ass...@protonmail.com)

And keep in mind that starting with Sailfish OS 2.1.1 non-privileged processes 
won't be able to set this property (as well as do a few other connman things, 
e.g. manipulate the services). In order to be able to use the restricted D-Bus 
APIs you would have to ask the launcher to run your app under nemo:privileged 
but that would automatically disqualify the app from getting accepted to Jolla 
Store. Sailfish OS is getting security conscious!

Cheers,
-Slava

You’re missing the property name. You need:

string:Powered variant:boolean:true

ref:

https://together.jolla.com/question/56437/i-would-like-to-toggle-internet-connectivity-via-terminal-with-dbus/

typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 
'value': valuet}], …);

ref: https://talk.maemo.org/archive/index.php/t-92303.html

-kimmo

From: Devel [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Dylan Van 
Assche via Devel
Sent: 10. kesäkuuta 2017 12:45
To: Sailfish OS Developers mailing list
Subject: [SailfishDevel] Nemo DBus typedCall

Hi devs,

I'm playing around with the Nemo DBus QML plugin but I'm a little bit stuck 
when using the function typedCall().

DBusInterface

{

id

:

wifi

bus

:

DBus.SystemBus

service

:

'net.connman'

path

:

'/net/connman/technology/wifi'

iface

:

'net.connman.Technology'

signalsEnabled

:

true

function

setState

(powered)

{

var

value

=

powered

?

'true'

:

'false'

typedCall(

'SetProperty'

,

{

'type'

:

's'

,

'value'

:

value

},

function

()

{

console

.log(

'[INFO]

wifi

power

state set'

)

},

function

()

{

console

.log(

'[ERROR]

wifi

power

state failed'

)

})

}

function

propertyChanged

(name,

value)

{

console

.log(

"WiFi

changed

NAME=%1

VALUE=%2"

.arg(

name

).arg(

value

))

}

}

But it seems that I'm doing something wrong when I try to enable/disable wifi. 
It's my first attempts with DBus but I have managed to read the signals with 
the plugin without any issues.

Cheers,

Dylan

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org___

Re: [SailfishDevel] Nemo DBus typedCall

2017-06-11 Thread Dylan Van Assche via Devel
Can I still monitor for changes and read properties? Can you give a more 
complete view what will change exactly? I am building an universal bridge 
between Python and QML with integrated Platform APIs based on DBUS and other 
stuff.

Dylan

 Original Message 
Subject: Re: [SailfishDevel] Nemo DBus typedCall
Local Time: June 11, 2017 7:16 PM
UTC Time: June 11, 2017 5:16 PM
From: slava.mon...@jolla.com
To: devel@lists.sailfishos.org
Dylan Van Assche <dylan.van.ass...@protonmail.com>

And keep in mind that starting with Sailfish OS 2.1.1 non-privileged processes 
won't be able to set this property (as well as do a few other connman things, 
e.g. manipulate the services). In order to be able to use the restricted D-Bus 
APIs you would have to ask the launcher to run your app under nemo:privileged 
but that would automatically disqualify the app from getting accepted to Jolla 
Store. Sailfish OS is getting security conscious!

Cheers,
-Slava

You’re missing the property name. You need:

string:Powered variant:boolean:true

ref:

https://together.jolla.com/question/56437/i-would-like-to-toggle-internet-connectivity-via-terminal-with-dbus/

typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 
'value': valuet}], …);

ref: https://talk.maemo.org/archive/index.php/t-92303.html

-kimmo

From: Devel [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Dylan Van 
Assche via Devel
Sent: 10. kesäkuuta 2017 12:45
To: Sailfish OS Developers mailing list
Subject: [SailfishDevel] Nemo DBus typedCall

Hi devs,

I'm playing around with the Nemo DBus QML plugin but I'm a little bit stuck 
when using the function typedCall().

DBusInterface

{

id

:

wifi

bus

:

DBus.SystemBus

service

:

'net.connman'

path

:

'/net/connman/technology/wifi'

iface

:

'net.connman.Technology'

signalsEnabled

:

true

function

setState

(powered)

{

var

value

=

powered

?

'true'

:

'false'

typedCall(

'SetProperty'

,

{

'type'

:

's'

,

'value'

:

value

},

function

()

{

console

.log(

'[INFO]

wifi

power

state set'

)

},

function

()

{

console

.log(

'[ERROR]

wifi

power

state failed'

)

})

}

function

propertyChanged

(name,

value)

{

console

.log(

"WiFi

changed

NAME=%1

VALUE=%2"

.arg(

name

).arg(

value

))

}

}

But it seems that I'm doing something wrong when I try to enable/disable wifi. 
It's my first attempts with DBus but I have managed to read the signals with 
the plugin without any issues.

Cheers,

Dylan

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Nemo DBus typedCall

2017-06-10 Thread Dylan Van Assche via Devel
Hi devs,

I'm playing around with the Nemo DBus QML plugin but I'm a little bit stuck 
when using the function typedCall().

DBusInterface

{

id

:

wifi

bus

:

DBus.SystemBus

service

:

'net.connman'

path

:

'/net/connman/technology/wifi'

iface

:

'net.connman.Technology'

signalsEnabled

:

true

function

setState

(powered)

{

var

value

=

powered

?

'true'

:

'false'

typedCall(

'SetProperty'

,

{

'type'

:

's'

,

'value'

:

value

},

function

()

{

console

.log(

'[INFO]

wifi

power

state set

'

)

},

function

()

{

console

.log(

'[ERROR]

wifi

power

state failed

'

)

})

}

function

propertyChanged

(name,

value)

{

console

.log(

"WiFi

changed

NAME=%1

VALUE=%2"

.arg(

name

).arg(

value

))

}

}

But it seems that I'm doing something wrong when I try to enable/disable wifi. 
It's my first attempts with DBus but I have managed to read the signals with 
the plugin without any issues.

Cheers,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Timedclient-qt5

2017-04-09 Thread Dylan Van Assche via Devel
Hi devs,

I don't know if this allowed in Harbour so maybe someone knows it here:

May I use Timedclient-qt5 to launch a small script every X minutes as a 
terminal command?

Cheers,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Geoclue status

2017-03-30 Thread Dylan Van Assche via Devel
Hi,

Then DBUS is the only way sadly enough... I couldn't get the GPS state in QML 
(no fix, fix, ... ).

Dylan

 Original Message 
Subject: Re: [SailfishDevel] Geoclue status
Local Time: 29 March 2017 9:47 PM
UTC Time: 29 March 2017 19:47
From: rinigus@gmail.com
To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS Developers 
<devel@lists.sailfishos.org>

Hi Dylan,

to my knowledge its not available. See 
https://bugs.merproject.org/show_bug.cgi?id=1629

Cheers,

Rinigus

On Wed, Mar 29, 2017 at 9:08 PM, Dylan Van Assche via Devel 
<devel@lists.sailfishos.org> wrote:
Hi devs,

We can read the status of our network connections (WiFi, cellular, ...) through 
Connman in "/run/state/providers/connman/Internet"

But I am searching for the same to read out the status of the user his location 
(position fix, accuracy, position provider, ...)

Cheers,
Dylan

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Geoclue status

2017-03-29 Thread Dylan Van Assche via Devel
Hi devs,

We can read the status of our network connections (WiFi, cellular, ...) through 
Connman in "/run/state/providers/connman/Internet"

But I am searching for the same to read out the status of the user his location 
(position fix, accuracy, position provider, ...)

Cheers,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour error

2017-03-22 Thread Dylan Van Assche via Devel
Hi Pami,

Thank you! I understand you guys were busy with the MWC :)
I submitted my app Sailfinder right away to Harbour, but it seems it's only 
compatible with SFOS 2.1.0 and higher?
I run SFOS 2.0.5 on my main device and it works too :p

Cheers,
Dylan

 Original Message 
Subject: Re: [SailfishDevel] Harbour error
Local Time: March 22, 2017 2:16 PM
UTC Time: March 22, 2017 1:16 PM
From: pami.ketolai...@jolla.com
To: devel@lists.sailfishos.org

On 03/16/2017 12:00 PM, Dylan Van Assche via Devel wrote:
> Hi devs,
>
> I tried to upload my latest update of Sailfinder to Harbour but I get
> this error:
>
> errorHarbour.png
>
> I used the same YAML file as before but I added the
> nemo-qml-plugin-configuration-qt5 dependency (see attachment). The RPM
> validator in the SDK validates the RPM without any issue.
> As I read the error then that plugin isn't available however, it's
> allowed in Harbour. Maybe I don't have to include it in the YAML file (
> I also didn't included the notification nemo plugin)?
>

Sorry, forgot to reply to this, but the issue should now be fixed.
The ABI descriptors for Harbour have been updated to match the RPM
validator.

- Pami
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Harbour error

2017-03-16 Thread Dylan Van Assche via Devel
Hi devs,

I tried to upload my latest update of Sailfinder to Harbour but I get this 
error:

[errorHarbour.png]

I used the same YAML file as before but I added the 
nemo-qml-plugin-configuration-qt5 dependency (see attachment). The RPM 
validator in the SDK validates the RPM without any issue.
As I read the error then that plugin isn't available however, it's allowed in 
Harbour. Maybe I don't have to include it in the YAML file ( I also didn't 
included the notification nemo plugin)?

Cheers,
Dylan Van Assche

harbour-sailfinder.yaml
Description: application/yaml
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Launching app when not fully closed yet in Lipstick

2017-03-02 Thread Dylan Van Assche via Devel
Hi,

I'm trying to figure out why my app won't launch just after it was closed in 
the UI by the user, if the user waits for a couple seconds then it's fine.
I launched it then for the terminal and the app is properly closed ( I can't 
execute any command until the app is fully closed) but that behaviour is not 
found in Lipstick.

Is there a way to 'wait' until my app is fully closed until the user can launch 
it again? This only happens in Lipstick and not in the terminal so I don't 
think it's related to my app.

Cheers,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] org.nemomobile.configuration examples

2017-02-07 Thread Dylan Van Assche via Devel
Hi Michael,

Thank you! Works amazingly simple, I searched it too far :)

Cheers,
Dylan









 Original Message 
Subject: Re: [SailfishDevel] org.nemomobile.configuration examples
Local Time: 7 February 2017 1:56 PM
UTC Time: 7 February 2017 12:56
From: mich...@neufing.org
To: devel@lists.sailfishos.org

Hi,

have a look at my SailfishReboot repo at GitHub [1].
You can just add your properties into the ConfigurationGroup and that's
it :)
The loading/saving/notifying is already handled four you *magic* :)

Br,
Michael

[1]
https://github.com/ejjoman/harbour-sailfishreboot/blob/3b7644b51a36d57bfe9afacf39959ca27b79e235/qml/common/Settings.qml#L4

Am 07.02.2017 13:46, schrieb Dylan Van Assche via Devel:
> Hi devs,
>
> Currently I'm struggling with the org.nemomobile.configuration QML
> module.
>
> On the SailfishOS Reference pages is explained which properties this
> module has but I can't find any examples there.
>
> After some Googling I found some examples on how to use
> ConfigurationValue {} but I want to group several settings together in
> a ConfigurationGroup {}.
>
> Does anyone a simple example on how to use ConfigurationGroup {}?
>
> Thanks & have a nice day,
>
> Dylan Van Assche aka modulebaan
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] org.nemomobile.configuration examples

2017-02-07 Thread Dylan Van Assche via Devel
Hi devs,

Currently I'm struggling with the org.nemomobile.configuration QML module.
On the SailfishOS Reference pages is explained which properties this module has 
but I can't find any examples there.
After some Googling I found some examples on how to use ConfigurationValue {} 
but I want to group several settings together in a ConfigurationGroup {}.
Does anyone a simple example on how to use ConfigurationGroup {}?

Thanks & have a nice day,
Dylan Van Assche aka modulebaan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] com.jolla.email 1.1

2016-12-31 Thread Dylan Van Assche via Devel
Hi Dev's,

I want to build an app using the buildin email composer from Sailfish.Email.
However, I want to hide several parts from it... Sailfish.Email uses a QML 
Loader to load the UI from com.jolla.email 1.1
I can add the property 'visible' to the loader but then it hides the complete 
item.

If I can take a look at the QML source code of this component maybe I can 
figure out which property I need to send extra to only hide some parts from it.

Kinds regards,
Dylan Van Assche

BTW: Happy new year!___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Encrypted authentification storage

2016-12-10 Thread Dylan Van Assche
Hi George,

I'm not aware of a native public or private API for what you want to accomplish.
However this can be added by using a Python encryption module or in C++.

Cheers,
Dylan


 Original Message 
Subject: [SailfishDevel] Encrypted authentification storage
Local Time: 8 December 2016 8:54 PM
UTC Time: 8 December 2016 19:54
From: scooterschors...@gmail.com
To: Sailfish 







Hi
What is the best way to save acount login data (e.g. username/password for some 
internet services) within an app?

On iOS there is something like an encrypted key store which can easily be used 
for such things. As far as I know, QSettings only writes settings in plain text.

Any suggestions on this?
Bye
Georg___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to use sailfish-components-webview

2016-12-03 Thread Dylan Van Assche
Hi Michael,

By using 'Deploy as RPM packages' the required packages were installed, however 
another error came up:


[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. 
Only use this in a safe environment.


[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - 
Using Wayland-EGL


[W] Silica::ThemePrivate::ThemePrivate:411 - No pixel ratio defined. Check your 
device configuration!


[W] Silica::ThemePrivate::ThemePrivate:426 - Defaulting to pixel ratio 1.0


[W] Silica::ThemePrivate::ThemePrivate:432 - Defaulting to webview scaling 
factor of 1.0


[W] DeclarativeImageProvider::DeclarativeImageProvider:104 - No pixel ratio 
defined. Check your device configuration!


[W] DeclarativeImageProvider::DeclarativeImageProvider:109 - Defaulting to 
pixel ratio 1.0


bash: line 1: 5655 Segmentation fault DISPLAY=':0.0' QT_NO_JOURNALD_LOG='1' 
/usr/bin/test


Application finished with exit code 139.








Cheers,
Dylan


 Original Message 
Subject: Re: [SailfishDevel] How to use sailfish-components-webview
Local Time: December 3, 2016 5:54 PM
UTC Time: December 3, 2016 4:54 PM
From: dylan.van.ass...@protonmail.com
To: Sailfish OS Developers <devel@lists.sailfishos.org>

Hi Michael,

Compiling works now :)
However, when I try to install the RPM on the emulator (as target) I get this 
on launch:

unknown:44 - file:///opt/sdk/test/usr/share/test/qml/test.qml:44:1: module 
"Sailfish.WebView" is not installed


import Sailfish.WebView 1.0




Sailfish.Webview component is not installed... I added these lines in the yaml 
file:
Requires:
- sailfishsilica-qt5 >= 0.10.9
- sailfish-components-webview-qt5 >= 0.0.1
- sailfish-components-webview-qt5-devel >= 0.0.1
- sailfish-components-webview-qt5-pickers >= 0.0.1
- sailfish-components-webview-qt5-popups >= 0.0.1


And as written in the README on Github in the .pro file I added the following:
CONFIG += sailfishapp \
link_pkgconfig

PKGCONFIG += qt5embedwidget


I'm missing something but I don't know what...

Cheers,
Dylan









 Original Message 
Subject: Re: [SailfishDevel] How to use sailfish-components-webview
Local Time: December 3, 2016 5:27 PM
UTC Time: December 3, 2016 4:27 PM
From: mic...@gmx.at
To: devel@lists.sailfishos.org

Hi Dylan,

I guess you have to install webview component in the target:

https://lists.sailfishos.org/pipermail/devel/2016-July/007318.html

and maybe then restart qtcreator.
The code highlighting/completion depends on the currently selected kit (i486/
arm). So if you're just using the emulator during testing and coding its
enough to install webview just in i486.

cheers, Michael.




On Samstag, 3. Dezember 2016 10:41:01 CET Dylan Van Assche wrote:
> Hi developers,
>
> I was looking to this new component which is available since the 2.0.5
> release: https://github.com/sailfishos/sailfish-components-webview I tried
> to import it into my project with this:
> import Sailfish.Webview 1.0
> However QTCreator can't find this plugin, I guess I need to install it
> manually in QTCreator? I already installed the component in the MER SDK by
> running the following command: zypper install
> sailfish-components-webview-qt5 sailfish-components-webview-qt5-devel
> sailfish-components-webview-qt5-pickers
> sailfish-components-webview-qt5-popups -y They installed fine without any
> problem on the 2.0.5 SDK release.
>
> But still QTCreator can't find the plugin: QML module not found (when I
> hover my mouse over the import statement).
>
> Someone who knows the trick here to fix this?
>
> Kind regards,
> Dylan Van Assche


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to use sailfish-components-webview

2016-12-03 Thread Dylan Van Assche
Hi Michael,

Compiling works now :)
However, when I try to install the RPM on the emulator (as target) I get this 
on launch:

unknown:44 - file:///opt/sdk/test/usr/share/test/qml/test.qml:44:1: module 
"Sailfish.WebView" is not installed


import Sailfish.WebView 1.0




Sailfish.Webview component is not installed... I added these lines in the yaml 
file:
Requires:
- sailfishsilica-qt5 >= 0.10.9
- sailfish-components-webview-qt5 >= 0.0.1
- sailfish-components-webview-qt5-devel >= 0.0.1
- sailfish-components-webview-qt5-pickers >= 0.0.1
- sailfish-components-webview-qt5-popups >= 0.0.1


And as written in the README on Github in the .pro file I added the following:
CONFIG += sailfishapp \
link_pkgconfig

PKGCONFIG += qt5embedwidget


I'm missing something but I don't know what...

Cheers,
Dylan









 Original Message 
Subject: Re: [SailfishDevel] How to use sailfish-components-webview
Local Time: December 3, 2016 5:27 PM
UTC Time: December 3, 2016 4:27 PM
From: mic...@gmx.at
To: devel@lists.sailfishos.org

Hi Dylan,

I guess you have to install webview component in the target:

https://lists.sailfishos.org/pipermail/devel/2016-July/007318.html

and maybe then restart qtcreator.
The code highlighting/completion depends on the currently selected kit (i486/
arm). So if you're just using the emulator during testing and coding its
enough to install webview just in i486.

cheers, Michael.




On Samstag, 3. Dezember 2016 10:41:01 CET Dylan Van Assche wrote:
> Hi developers,
>
> I was looking to this new component which is available since the 2.0.5
> release: https://github.com/sailfishos/sailfish-components-webview I tried
> to import it into my project with this:
> import Sailfish.Webview 1.0
> However QTCreator can't find this plugin, I guess I need to install it
> manually in QTCreator? I already installed the component in the MER SDK by
> running the following command: zypper install
> sailfish-components-webview-qt5 sailfish-components-webview-qt5-devel
> sailfish-components-webview-qt5-pickers
> sailfish-components-webview-qt5-popups -y They installed fine without any
> problem on the 2.0.5 SDK release.
>
> But still QTCreator can't find the plugin: QML module not found (when I
> hover my mouse over the import statement).
>
> Someone who knows the trick here to fix this?
>
> Kind regards,
> Dylan Van Assche


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] How to use sailfish-components-webview

2016-12-03 Thread Dylan Van Assche
Hi developers,

I was looking to this new component which is available since the 2.0.5 release: 
https://github.com/sailfishos/sailfish-components-webview
I tried to import it into my project with this:
import Sailfish.Webview 1.0
However QTCreator can't find this plugin, I guess I need to install it manually 
in QTCreator?
I already installed the component in the MER SDK by running the following 
command:
zypper install sailfish-components-webview-qt5 
sailfish-components-webview-qt5-devel sailfish-components-webview-qt5-pickers 
sailfish-components-webview-qt5-popups -y
They installed fine without any problem on the 2.0.5 SDK release.

But still QTCreator can't find the plugin: QML module not found (when I hover 
my mouse over the import statement).

Someone who knows the trick here to fix this?

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Detect network state & react on it

2016-10-09 Thread Dylan Van Assche
Hi Slava,







Thank you for your response! With these links I can indeed figure out the 
current state of the network connection in Python by reading those files.
Now I just need to figure out how I can add it to Sailfinder without a lot of 
rewriting.

Kind regards,
Dylan Van Assche

 Original Message 
Subject: Re: [SailfishDevel] Detect network state & react on it
Local Time: October 8, 2016 12:02 PM
UTC Time: October 8, 2016 10:02 AM
From: slava.mon...@jolla.com
To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS Developers 
<devel@lists.sailfishos.org>



Hi Dylan,


From QML, the easiest way is probably to monitor 
/run/state/providers/connman/Internet/NetworkState and 
/run/state/providers/connman/Internet/NetworkType with ContextProperty object. 
Google for "qml contextkit contextproperty" to find some examples. That way, 
statefs monitors connman state for you and you monitor statefs.


You can achieve the same result by directly monitoring the connman state over 
D-Bus. Then libconnman-qt is your friend. It's a C++ library with a QML plugin 
(MeeGo.Connman). That requires a bit more code but takes statefs out of the 
picture.


There are also Qt network configuration APIs but those are even more 
complicated and not all of those might work the way you would expect them to 
work. But this is the most platform-independent API in case if that is 
important for you (probably not). Internally it also talks to connman.


Connection selector has a D-Bus API which is easy enough to figure out with 
dbus-monitor. However it's not an official API and it's more or less guaranteed 
to change over time and break your app. Think twice before starting to use it.



Cheers,
-Slava



On 08/10/16 11:59, Dylan Van Assche wrote:

Hi Sailors,


For my app Sailfinder I have received a bug report about the network 
connection. When switching between mobile data & WiFi the app misbehaves.


I want to detect the current network state to avoid thsi problem. I thought of 
several possibilities:

-
Ping everytime to my website before doing other requests (expensive, better 
not).
- Use MCE module which expose the network states in a file (that's what I found 
on the sailfishos.org website, no more extra information). This option is the 
one I want to try :)

-
...

And if network isn't available I want to show the network connection dialog but 
I haven't find any information about it. Can someone help me with it? If 
possible, in a Harbour way since Sailfinder is also available in the Jolla 
Store.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Detect network state & react on it

2016-10-08 Thread Dylan Van Assche
Hi Sailors,

For my app Sailfinder I have received a bug report about the network 
connection. When switching between mobile data & WiFi the app misbehaves.

I want to detect the current network state to avoid thsi problem. I thought of 
several possibilities:

-
Ping everytime to my website before doing other requests (expensive, better 
not).
- Use MCE module which expose the network states in a file (that's what I found 
on the sailfishos.org website, no more extra information). This option is the 
one I want to try :)

-
...

And if network isn't available I want to show the network connection dialog but 
I haven't find any information about it. Can someone help me with it? If 
possible, in a Harbour way since Sailfinder is also available in the Jolla 
Store.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK version 1609 (2.0.4) is released to Early Access

2016-10-07 Thread Dylan Van Assche
The update of QTcreator is a nice surprise! The UI is now up to date again and 
more smooth!

Dylan









 Original Message 
Subject: [SailfishDevel] SDK version 1609 (2.0.4) is released to Early Access
Local Time: October 6, 2016 7:20 PM
UTC Time: October 6, 2016 5:20 PM
From: jarkko.lehtora...@jolla.com
To: devel@lists.sailfishos.org 

Hello,

Today (Oct 6th) at 17:00 UTC we have published new installers and repositories 
of the Sailfish OS SDK. This SDK release is called 1609 and it matches Jolla 
Release 2.0.4.

From now on the SDK releases will be in sync with the early access releases of 
Sailfish OS. It means, that developers can now choose between the SDK update 
intervals. By switching to the Early Access SDK developers will get SDK updates 
in sync with the Sailfish OS early access releases. Otherwise, as before, they 
will get the SDK updates in sync with the official public Sailfish OS releases.

Please, read the following notes about the Early Access SDK:
- By using the Early Access SDK developers can test their Sailfish OS apps 
approximately a week before the Sailfish OS release is made public
- During the early access time the Early Access SDK should not be used for 
submitting apps to the Jolla Harbour
- The installers for this release of the SDK are available at 
http://sailfishos.org/wiki/Application_SDK_Early_Access#Latest_Early_Access_SDK_Release
- Instructions for adding the early access repository into the SDK can be found 
from 
http://sailfishos.org/wiki/Application_SDK_Early_Access#Receiving_Early_Access_SDK_Updates_Automatically

If you add the early access repository into your SDK and have an older beta 
release of the SDK, you should see an update notification in the Sailfish OS 
IDE. Otherwise, you will see an update notification in the Sailfish OS IDE, 
when the Jolla Release 2.0.4 is publicly available to all users.

SDK content matches Jolla Release 2.0.4.13 (Fiskarsinjoki). Please see below 
for detailed information of the changes.

A couple of things you should be aware of:
- As before, in this update the build engine, emulator and targets are 
reinstalled so you will lose all changes you may have made in those - However, 
if your application packaging is done correctly, rebuilding your projects 
should reinstall the packages you have been using.
- Any customization done to SDK (adding new package repositories, adding custom 
targets, additional source paths) will be removed during the installation 
process so make your own backup of those before starting the update.
- If you import existing projects made with a previous version of the Sailfish 
OS SDK, make sure to select the correct kit in the project configuration step. 
Both ARM and i486 kits are available.
- Package repository contents have been updated and consequently using a 
previous SDK version with these package repositories is not supported.
- For more information, please see the SDK Beta-Qt5 known issues list.


Release Content

SDK IDE (Qt Creator)
- Qt Creator updated to version 4.0.1
- Official Turing Phone support
- Updates to Emulator mode switching
- Refreshed API documentation available in the Help mode (Ctrl+7) in Qt Creator 
to Jolla release 2.0.4.13 level
SDK Build engine
- Build targets refreshed to Jolla release 2.0.4.13 level
- Harbour RPM validator updated
Emulator
- Emulator packages refreshed to Jolla release 2.0.4.13 level
- Fixes to matching Emulator UI assets with the corresponding device UI assets

If you have any questions, feel free to either send an email to this mailing 
list: devel at lists.sailfishos.org, write it up in http://together.jolla.com 
and tag your issue with 'sdk' or send an e-mail to developer-care at jolla.com.

Happy hacking,
Jolla SDK Team
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Interact from other pages with the cover page

2016-08-29 Thread Dylan Van Assche
Hi devs,

I'm rebuilding Sailfinder and I'm looking for a better way for my interaction 
between the cover and other pages.
In the old version I let the cover play the man in middle when Python 
transfered the data to the current QML page but it was a messy solution.
I looked at the source code of different Sailfish OS projects but nothing that 
really looked simple for my purpose.

I read about 'Connections' in QML but I can't figure out if I can use that QML 
type to let the page interact with the cover. I want to avoid C++ as much as 
possible in order to create a non-arch package.
Maybe someone here who can help?

Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Communication between Aliendalvik app & SFOS app

2016-08-12 Thread Dylan Van Assche
That's not a bad idea :)
But first I need to fix some issues in the java code in order to try out if 
this hack really works :S
If so, then only people with Android support or SFDroid can use Sailfinder (or 
you need to run the app on a second Android phone/emulator).

Dylan


 Original Message 
Subject: Re: [SailfishDevel] Communication between Aliendalvik app & SFOS app
Local Time: August 12, 2016 3:44 PM
UTC Time: August 12, 2016 1:44 PM
From: ju...@swagman.org
To: dylan.van.ass...@protonmail.com,devel@lists.sailfishos.org


How about openning a local socket? Easy and portable.

- juice -


Dylan Van Assche kirjoitti 2016-08-12 12:53:
> hi devs,
>
> For Sailfinder I need to build a small Android app to bypass the new
> restrictions of Tinder. However, I would like to redirect the user to
> my SFOS app as soon as he/she is logged in. I need some sort of
> communication between the Android Aliendalvik app and my SFOS. Any
> idea how I can accomplish that?
>
> Dylan
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org

--
- Juice -___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Communication between Aliendalvik app & SFOS app

2016-08-12 Thread Dylan Van Assche
hi devs,

For Sailfinder I need to build a small Android app to bypass the new 
restrictions of Tinder. However, I would like to redirect the user to my SFOS 
app as soon as he/she is logged in. I need some sort of communication between 
the Android Aliendalvik app and my SFOS. Any idea how I can accomplish that?

Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Introducing Myself to the community

2016-08-10 Thread Dylan Van Assche
Hi Raju,

Welcome on board! If you have any questions about Sailfish OS let us know! We 
will try to help where we can :)

Cheers,
Dylan


 Original Message 
Subject: [SailfishDevel] Introducing Myself to the community
Local Time: August 9, 2016 5:38 PM
UTC Time: August 9, 2016 3:38 PM
From: raj...@openmailbox.org
To: devel@lists.sailfishos.org

Greetings to builders of the Boat.

I am Raju from Pune, India.
I mostly contribute to the Debian project and the Hamara Linux project [1]
Also I speak at a lot of conferences and talk on topics such as
Introduction to Linux, Debian, Hamara, OwnCloud, SBCs and a lot of stuff.


I have been following the Sailfish/Mer/Meego project from the days of
the Nokia N900.
I have also used Meego on my Netbook for sometime. It was the best UI
for netbooks back then.

Finally I purchased an AquaFish recently.
With a device in my hand I want to get into Sailfish development.
I want to contribute to translations, development of Apps and core
platform development.

Hoping to be active here and see the boat sail through the high tides.

-
[1] hamaralinux.org
[2] github.com/rajuvindane
[3] git.hamaralinux.org/libregeekingkid
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Jolla keyboard enabled signal

2016-07-22 Thread Dylan Van Assche
Hi devs,

I searched the docs but I couldn't find a way to detect if the Jolla Keyboard 
is open or not.
Can I read it out with Dbus or something?

Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Dylan Van Assche
My fault it's called 'completeAnimation'

Dylan


 Original Message 
Subject: Re: [SailfishDevel] pageStack navigation
Local Time: 20 July 2016 9:15 PM
UTC Time: 20 July 2016 19:15
From: develo...@nordan.ch
To: devel@lists.sailfishos.org


@Dylan
According to the doc, there is no function completeTransition for a PageStack 
object.

@Oleg
I've something weird with your solution. Goal is reach but the MainPage is 
empty, as if the app was never started. :/

If I found a solution I'll let you know. If someone as an idea, welcome ;)

@+, Fab


Le 20. 07. 16 à 18:37, Oleg Linkin a écrit :



Why not do the next:

pageStack.clear()

pageStack.push(MainPage)?




2016-07-20 19:36 GMT+03:00 Dylan Van Assche <dylan.van.ass...@protonmail.com>:


Hi,

You should add this:

if(!pageStack.busy)
{
pageStack.pop()
}

This will prevent the issue but it will give you another bug: only one page 
will be popped.

You can fix it like this:


if(!pageStack.busy)
{
pageStack.pop()
pageStack.completeTransition() // This will pop the page directly.


}


 Original Message 
Subject: [SailfishDevel] pageStack navigation
Local Time: July 20, 2016 6:02 PM
UTC Time: July 20, 2016 4:02 PM
From: develo...@nordan.ch
To: devel@lists.sailfishos.org



Hello everybody !


I can't figure out how to go back to the main page of an app and clear the 
stack of pages. Let me explain:


I've a main page, by selecting a menu entry push a page (lets call it page1). 
On this page1, calling a certain action, push another page (call it page2, it 
is a dialog page) on the stack.


So in the stack, I have the following pages: [MainPage, Page1, Page2]


But now, from page2, I want to go back to MainPage. So I did this first in the 
page2 code :

onAccepted: {
pageStack.pop()
}

But:


Warning: cannot pop while transition is in progress





Ok, so I tried this instead:





acceptDestination: Qt.resolvedUrl("MainPage.qml") acceptDestinationAction: 
PageStackAction.Pop





Still:  Warning: cannot pop while transition is in progress





And doing this:


onAccepted: { pageStack.pop(null, false)  }


Is working in term of results, but before going to the main page I see the 
page2 for a little while.





So, I should miss something here for sure. Any ideas or recommendation ? Maybe 
am I bad designing the navigation in the app ?





Thanks a lot !





Regards,





Fab







___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___ SailfishOS.org Devel mailing 
list To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Dylan Van Assche
Hi,

You should add this:

if(!pageStack.busy)
{
pageStack.pop()
}

This will prevent the issue but it will give you another bug: only one page 
will be popped.

You can fix it like this:


if(!pageStack.busy)
{
pageStack.pop()
pageStack.completeTransition() // This will pop the page directly.
}


 Original Message 
Subject: [SailfishDevel] pageStack navigation
Local Time: July 20, 2016 6:02 PM
UTC Time: July 20, 2016 4:02 PM
From: develo...@nordan.ch
To: devel@lists.sailfishos.org



Hello everybody !


I can't figure out how to go back to the main page of an app and clear the 
stack of pages. Let me explain:


I've a main page, by selecting a menu entry push a page (lets call it page1). 
On this page1, calling a certain action, push another page (call it page2, it 
is a dialog page) on the stack.


So in the stack, I have the following pages: [MainPage, Page1, Page2]


But now, from page2, I want to go back to MainPage. So I did this first in the 
page2 code :

onAccepted: {
pageStack.pop()
}

But:


Warning: cannot pop while transition is in progress





Ok, so I tried this instead:





acceptDestination: Qt.resolvedUrl("MainPage.qml") acceptDestinationAction: 
PageStackAction.Pop





Still:  Warning: cannot pop while transition is in progress





And doing this:


onAccepted: { pageStack.pop(null, false)  }


Is working in term of results, but before going to the main page I see the 
page2 for a little while.





So, I should miss something here for sure. Any ideas or recommendation ? Maybe 
am I bad designing the navigation in the app ?





Thanks a lot !





Regards,





Fab___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Bluetooth Serial protocol (HC-05)

2016-06-10 Thread Dylan Van Assche
Hi devs,

I'm trying to connect with QML to a HC-05 Bluetooth module.
'BluetoothDiscoveryModel' show the MAC address of the module but I can't 
discover any services.
Somebody who know how I can fix that?


Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Open source in-app ad API helper for QML - please, join

2016-06-02 Thread Dylan Van Assche
I receive donations from 1/100 users...
I was also planning to change to inApp Payments...

Dylan


 Original Message 
Subject: Re: [SailfishDevel] Open source in-app ad API helper for QML - please, 
join
Local Time: June 2, 2016 8:27 PM
UTC Time: June 2, 2016 6:27 PM
From: scooterschors...@gmail.com
To: devel@lists.sailfishos.org






Some experiences from me as a former iOS Developer:
- With a good payed app, one can earn a some money
- A free app with InApp Payment for more features leads to more revenue on my 
apps
- iAd leads to almost no revenue. On iOS one need several thousends of App 
installations to get just a little revenue

Can someone post some experiences with donations?!



2016-05-31 19:49 GMT+02:00 Zoltán Lutor :


thx, I was aware of the post - unfortunatell I cannot participate because I'll 
be in work.
Anyone of you, please, feel free to bring this topics up there.





2016-05-31 17:33 GMT+02:00 Coley :


Check out this topic over on together:
https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/





On 31 May 2016 at 16:18,  wrote:



Good comment.





Newbie in community development, no experience with IRC... ;-)




Coley írta ekkor: 2016.05.31. 16:56







Why not propose it as a topic for the IRC meeting and attend?
There are normally a few Jolla people on it - and if nobody can answer your 
question maybe they can take an AI to find the answer for you.

-Coley.



On 31 May 2016 at 15:46,  wrote:



I've tried to contact them already - even for getting invokved with the 
development.





No reaction so far...




Camil Bancioiu írta ekkor: 2016.05.31. 11:55





Hello Zoltan,


I hope you will find help with your SDK. Not because I like ads (I don't), but 
because the platform is free, and everybody should implement what they think 
it's best. But first, you should talk to Jolla, because they're the ones that 
will eventually allow apps with your ad-SDK in Harbour. And, depending on their 
philosphy and principles regarding this matter (yet unkown), they may approve 
of your SDK, or not. If apps using the ad-SDK won't be admitted on Harbour, it 
will be hard to earn money through it, I think. Also, don't forget Jolla 
already has plans for some "SuperApps" or whatever they're called, which is 
basically sponsored content. There may be some politics involved here, 
regarding ads in normal apps.


Bottom line: ask Jolla if they will allow apps using the ad-SDK on Harbour, and 
how does it relate to their already-planned sponsored content in the OS.


Best regards,
Camil


On Tuesday 31 May 2016 10:10:42 devel-requ...@lists.sailfishos.org wrote:
> Re: Open source in-app ad API helper for QML - please, join

___

SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-requ...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!

2016-05-26 Thread Dylan Van Assche
Bluetooth 4.1 & BTLE is supported by Qualcomm:
https://www.qualcomm.com/products/snapdragon/processors/212

But I don't think that QT already has the right library for BTLE (Bluez5 
needed).

Dylan


 Original Message 
Subject: Re: [SailfishDevel] [Official Announcement] Join the Sailfish 
Community Device Program now!
Local Time: May 26, 2016 2:57 PM
UTC Time: May 26, 2016 12:57 PM
From: mikel...@gmail.com
To: ju...@swagman.org,devel@lists.sailfishos.org

Well, I suppose that depends on what Qualcomm supports on their chip.
The intel tablet also has a more recent version of android.

But it would be interesting to have BTLE support for native programs,
and I think we need a recent Qt library for that.

Luciano


On Thu, May 26, 2016 at 2:44 PM, juice  wrote:
> Oleksii Serdiuk kirjoitti 2016-05-26 15:41:
>>
>> I think that the question might have been BTLE support in Android. On
>> Jolla Phone it doesn't work due to old Android version.
>>
>> From the specs it looks like a "rebranded" Aqua Fish, so I expect BTLE
>> support in Android to be present.
>>
>
> OK, that never crossed my mind since I could not care less about Android
> support :)
>
> But indeed if it is that, what makes you think that the Android support in
> the Intex phone would be different version than what's on the Jolla SBJ?
> I'd imagine both have exactly the same Dalvik version since the OS version
> is same too...
>
>
> - juice -
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



--
Luciano Montanaro

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job. -- Douglas Adams
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!

2016-05-26 Thread Dylan Van Assche
Yes, it has Android support (that's what I read under specs)

Dylan


 Original Message 
Subject: Re: [SailfishDevel] [Official Announcement] Join the Sailfish 
Community Device Program now!
Local Time: May 26, 2016 12:59 PM
UTC Time: May 26, 2016 10:59 AM
From: donag...@gmail.com
To: devel@lists.sailfishos.org



Will this new Jolla C have Android support included? Even if I can rely 90% on 
Sailfosh OS only, there are still a few things I need Android for (mainly a 
bank app). I can't afford a new, developer-only device: to justify the expense 
I need it to become my main, everyday phone too.
Can you please clarify this point?



On Thu, May 26, 2016 at 11:59 AM, Jolla Community  wrote:



Dear Jolla community member,

As a thank you for your loyalty, we've just announced a new program for you, 
the Jolla community! By joining the Sailfish Community Device Program, you will 
get access to special content and R sessions, event invitations, and the new 
Sailfish OS smartphone, the limited community edition Jolla C.

Join the program now 
[here](http://shop.jolla.com/eu_en/sailfish-community/sfos-community-developer-programme-offering.html).

Read more about the Program in the latest [Jolla blog 
post!](https://blog.jolla.com/sailfish-community-device-program/)

On behalf of the whole Jolla team,
James Noori
Community Manager




___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



--
Luca Donaggio___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] New Jolla Community Program Launching today - be prepared!

2016-05-26 Thread Dylan Van Assche
Nice!

On which website will it be available? I don't want to lose time with searching 
after the right URL.


Dylan




 Original Message 
Subject: [SailfishDevel] New Jolla Community Program Launching today - be 
prepared!
Local Time: 26 May 2016 7:02 AM
UTC Time: 26 May 2016 05:02
From: commun...@jolla.com
To: devel@lists.sailfishos.org

Dear Jolla community member,

As a recipient of this email you are among the loyal members of the Sailfish 
Community, and have accompanied and supported us along the way, a million 
thanks for that!

Later today at noon Central European Summer time (1pm in Finland, 11am in the 
UK) we will announce and open a new Sailfish Community Program. It will include 
a limited edition Sailfish OS community device, among other exclusive perks. As 
this program is open to everybody, and we only can take a limited amount of 
registrants to the program, we want to alert you, our closest community members 
about it beforehand.

Contrary to a normal marketing situation, this time we strongly ask you not to 
make much public noise about this before it is launched - this could decrease 
your or your fellow community members' possibility of getting in.

So please be alert and quick today and secure your registration!

D-I-T!

On behalf of the whole Jolla team,
James Noori
Community Manager___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] A way to contact QA?

2016-05-24 Thread Dylan Van Assche
Hi Sailfish developers,

Is there a way to contact Lauri Johansson from the QA?

He reported a bug through the QA channel but I would like to know more 
specifics about it but through Jolla Harbour there's not an option to reply.

"However there is an issue on receiving messages when match is created. Jolla 
Phone does not receive any message when sender sent it from official tinder app 
to Jolla. But sending messages to others works fine.



Best Regards

Lauri"

If Lauri reads this too:

-
Did you send the message by clicking on the Send message button or by 
navigating with the pulley menu to 'Matches' -> Match?
-
If you restart Sailfinder does it work then?

Best Regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Deploy as RPM package vs copying binaries

2016-03-24 Thread Dylan Van Assche
Hi Martin,

I tried it again (I always work on Xubuntu 14.04.3 LTS (+VB 4.3 but that's not 
necessary here since I deploy on my Jolla) with Jolla's QT Creator):

-
Unzip the ZIP file
-
Load the .pro file in QT Creator
-
Start the MER builder
-
Build as MerSDK-SailfishOS-armv7hl -> debug -> deploy as RPM package on 
Jolla(ARM)
-
The error appears

I'm not so familiar with this question:
"And attach the output of 'rpm -qlp Sailfinder-0.1-1.armv7hl.rpm'?"
Where can I find that?

Dylan


 Original Message 
Subject: RE: [SailfishDevel] Deploy as RPM package vs copying binaries
Local Time: March 24, 2016 8:30 AM
UTC Time: March 24, 2016 7:30 AM
From: martin.kam...@jolla.com
To: dylan.van.ass...@protonmail.com,devel@lists.sailfishos.org



Hi Dylan,

could you describe step by step your procedure from unpacking the source 
archive from your original message to installing the resulting RPM package? And 
attach the output of 'rpm -qlp Sailfinder-0.1-1.armv7hl.rpm'?

Martin



------

From: Dylan Van Assche [dylan.van.ass...@protonmail.com]
Sent: Wednesday, March 23, 2016 12:19 PM
To: Martin Kampas
Subject: Re: [SailfishDevel] Deploy as RPM package vs copying binaries



Hi,

No it was, I think it's a bug in QT creator...
Time for an update?

Dylan


Sent from ProtonMail mobile



 Original Message 
On 10:15, 23 Mar 2016, Martin Kampas wrote:



Hello Dylan,

does this still persist? I tried to build and use RPMs from your sources and it 
worked.

BR,
Martin



--

From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Dylan Van Assche [dylan.van.ass...@protonmail.com]
Sent: Thursday, March 17, 2016 10:30 PM
To: Sailfish OS Developers
Subject: [SailfishDevel] Deploy as RPM package vs copying binaries



Dear developers,

I just finished my app and I'm ready to pack it into an RPM.
I used the 'copying binaries' method when I developed it and that worked fine 
since it copies all the files piece by piece to my Jolla.
However when I use 'deploy as RPM package' method I'm getting in trouble with 
the dependencies. I expected that I have to change my .pro file to include my 
dependencies, which I did.
QT creator shows in the project tree those files on 'Other files'.
I haven't changed the .yaml file since all my dependencies are in the 'qml' 
folder which is already covered by the .yaml file (as far as I understand it).

When I try to deploy the RPM package I get this error:


[W] unknown:-1 - file:///usr/share/Sailfinder/qml/Sailfinder.qml: File not found


The app can't find the page Sailfinder.qml (which is the page that calls the 
firstPage).
I'm not experienced with QT since it's my first app for Sailfish OS, so I don't 
know what to do (I already read the 'packaging apps' tutorial on 
sailfishos.org)...
Here's a link to my project as a ZIP file since it's too big to send it as an 
attachment to the mailing list: [ 
mega.nz/#!Xt0QlCbJ!kvPIGNriIVEtQ9cg1d1qDFNDz65II_XjtRSwjSdWE9M](https://mega.nz/#!Xt0QlCbJ!kvPIGNriIVEtQ9cg1d1qDFNDz65II_XjtRSwjSdWE9M)
I hope somebody can help?

Regards,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Deploy as RPM package vs copying binaries

2016-03-19 Thread Dylan Van Assche
Dear developers,

I just finished my app and I'm ready to pack it into an RPM.
I used the 'copying binaries' method when I developed it and that worked fine 
since it copies all the files piece by piece to my Jolla.
However when I use 'deploy as RPM package' method I'm getting in trouble with 
the dependencies. I expected that I have to change my .pro file to include my 
dependencies, which I did.
QT creator shows in the project tree those files on 'Other files'.
I haven't changed the .yaml file since all my dependencies are in the 'qml' 
folder which is already covered by the .yaml file (as far as I understand it).

When I try to deploy the RPM package I get this error:


[W] unknown:-1 - file:///usr/share/Sailfinder/qml/Sailfinder.qml: File not found


The app can't find the page Sailfinder.qml (which is the page that calls the 
firstPage).
I'm not experienced with QT since it's my first app for Sailfish OS, so I don't 
know what to do (I already read the 'packaging apps' tutorial on 
sailfishos.org)...
Here's a link to my project as a ZIP file since it's too big to send it as an 
attachment to the mailing list: 
mega.nz/#!Xt0QlCbJ!kvPIGNriIVEtQ9cg1d1qDFNDz65II_XjtRSwjSdWE9M
I hope somebody can help?

Regards,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Dataconversion Qvariant to Qstring

2016-03-15 Thread Dylan Van Assche
Hello developers,

I am having some trouble with parsing some message data from Python (with 
PyOtherSide) to QML.
The message data comes from the Python module Pynder 
(https://github.com/charliewolf/pynder) and I simply parse the data with a 
for-loop to QML:

Python function:


def getMessageHistory(matchNumber):

# Get the messages from a specific match

messages = matches[matchNumber].messages


# Convert to list

messages = list(messages)


# Send to QML

for i in range(int(len(messages))-1, -1, -1):


pyotherside.send('getMessageHistory', messages[i])


In QML I use a small handler to receive all the data:

setHandler('getMessageHistory', function(messageHistory) {
messagesModel.append({text: messageHistory});
loadingMessages.visible = false;
messagesList.visible = true;
});

QML console:


[D] onReceived:313 - got message from python: 
getMessageHistory,QVariant(PyObjectRef)


[D] onReceived:313 - got message from python: 
getMessageHistory,QVariant(PyObjectRef)


[W] unknown:118 - 
file:///opt/sdk/Sailfinder/usr/share/Sailfinder/qml/pages/MessagesPage.qml:118:31:
 Unable to assign QVariantMap to QString


[W] unknown:118 - 
file:///opt/sdk/Sailfinder/usr/share/Sailfinder/qml/pages/MessagesPage.qml:118:31:
 Unable to assign QVariantMap to QString


[D] onReceived:313 - got message from python: 
getMessageHistory,QVariant(PyObjectRef)


[D] onReceived:313 - got message from python: 
getMessageHistory,QVariant(PyObjectRef)


[D] onReceived:313 - got message from python: 
getMessageHistory,QVariant(PyObjectRef)


[W] unknown:118 - 
file:///opt/sdk/Sailfinder/usr/share/Sailfinder/qml/pages/MessagesPage.qml:118:31:
 Unable to assign QVariantMap to QString


[W] unknown:118 - 
file:///opt/sdk/Sailfinder/usr/share/Sailfinder/qml/pages/MessagesPage.qml:118:31:
 Unable to assign QVariantMap to QString


[W] unknown:118 - 
file:///opt/sdk/Sailfinder/usr/share/Sailfinder/qml/pages/MessagesPage.qml:118:31:
 Unable to assign QVariantMap to QString


The problem is a data conversion between the data from Python and QML. I tried 
to send the data as a string from the Python side and searched on the Internet 
after some information about QvariantMap.
I also tried to send a string instead of the message data and that works fine. 
I saw that QvariantMap has a method: .toString() however I couldn't manage it 
to use it correctly. If necessary I can share my whole project but it's larger 
then 512kb so I can't send it through the mailing list.

Someone who can help?

Regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Custom modules for PyOtherSide

2016-03-04 Thread Dylan Van Assche
Hi developers,

I would like to add custom modules for PyOtherSide like you can do in Python by 
running the following command in the terminal: 'python install setup.py'
Is there a way to do is for a Sailfish OS application? I know that the app 
can't be uploaded then to the Jolla Store since the store is restricted to 
these modules: wiki.merproject.org/wiki/Sailfish/Python_Development but a 
release would be possible on OpenRepos.net instead.

Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] PyOtherSide

2016-03-02 Thread Dylan Van Assche
Hi,

It's installed on my Jolla Phone, I confirmed it by running your command.
I tried your guide but unfortunately rpm-build cannot be installed on my Jolla 
(running 2.0.1.7) since I get the error that 'elfutils' is required >= 0.128, 
but this requirement cannot be provided.
The rest of the packages installed without any problem.

Dylan


 Original Message 
Subject: Re: [SailfishDevel] PyOtherSide
Local Time: March 2, 2016 6:07 pm
UTC Time: March 2, 2016 5:07 PM
From: bo...@pohlers-web.de
To: devel@lists.sailfishos.org

But PyOtherSide is installed on you device?

as root (with devel-su):

[root@Jolla nemo]# pkcon search name pyotherside
Searching by
name

Waiting in
queue

Starting

Refreshing software
list

Querying

Installed pyotherside-qml-plugin-python3-qt5-1.4.0-
1.4.4.armv7hl Asynchronous Python 3 Bindings for Qt 5
...

btw, I don't use QtCreator for python development, instead I develop
and deploy directly on the Jolla Phone. Last year I wrote down the
steps to make a rpm package which you can install on the device.
http://blog.pohlers-web.de/python-app-fuer-sailfish-erstellen-und-bauen
/
There's also a github-link to a "vanilla" app, which you can use as a
starting point.
Unfortunately it's in german, but may be you can use a translation
service.
If you have any questions, feel free to ask!

Am Mittwoch, den 02.03.2016, 10:53 -0500 schrieb Dylan Van Assche:
> Hi,
>
> I can't get the SDK working with PyOtherSide. That's the reason why I
> can't run the samples :(
> Is there no clear guide how to setup PyOtherSide and Sailfish QT
> Creator? I found this: https://lists.sailfishos.org/pipermail/devel/2
> 013-September/000782.html
> But I can't get it working on Xubuntu 14.04 LTS. Also the play button
> to run your app in the emulator is grayed out.
>
> Dylan
>
>
>  Original Message 
> Subject: Re: [SailfishDevel] PyOtherSide
> Local Time: March 2, 2016 4:46 pm
> UTC Time: March 2, 2016 3:46 PM
> From: blus...@bluszcz.net
> To: devel@lists.sailfishos.org
>
> On 2016-03-02 17:34, Dylan Van Assche wrote:
> >
> > Hi,
> >
> > I took a look at those threads and searched extra on the Internet
> > but
> > I can't even get this sample running in the SDK:
> > https://sailfishos.org/develop/tutorials/creating-application-in-py
> > thon/
> > [1]
> Hi,
>
> what kind of help do you need?
>
> I am maintaining a python app in the open repos -
> https://github.com/VeggieSailor/VeggieSailor - perhaps can help you
> with
> something or you can have a look how the things are working inside.
>
> --
> Rafal bluszcz Zawadzki
> https://picup.it
> https://bluszcz.net
> https://jabberpl.org
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfis
> hos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfis
> hos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] PyOtherSide

2016-03-02 Thread Dylan Van Assche
Hi,

I can't get the SDK working with PyOtherSide. That's the reason why I can't run 
the samples :(
Is there no clear guide how to setup PyOtherSide and Sailfish QT Creator? I 
found this: 
https://lists.sailfishos.org/pipermail/devel/2013-September/000782.html
But I can't get it working on Xubuntu 14.04 LTS. Also the play button to run 
your app in the emulator is grayed out.

Dylan


 Original Message 
Subject: Re: [SailfishDevel] PyOtherSide
Local Time: March 2, 2016 4:46 pm
UTC Time: March 2, 2016 3:46 PM
From: blus...@bluszcz.net
To: devel@lists.sailfishos.org

On 2016-03-02 17:34, Dylan Van Assche wrote:
> Hi,
>
> I took a look at those threads and searched extra on the Internet but
> I can't even get this sample running in the SDK:
> https://sailfishos.org/develop/tutorials/creating-application-in-python/
> [1]

Hi,

what kind of help do you need?

I am maintaining a python app in the open repos -
https://github.com/VeggieSailor/VeggieSailor - perhaps can help you with
something or you can have a look how the things are working inside.

--
Rafal bluszcz Zawadzki
https://picup.it
https://bluszcz.net
https://jabberpl.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] PyOtherSide

2016-03-02 Thread Dylan Van Assche
Hi,

I took a look at those threads and searched extra on the Internet but I can't 
even get this sample running in the SDK: 
https://sailfishos.org/develop/tutorials/creating-application-in-python/
I get several warnings about RPM validation and if I try to run it on my Jolla 
Phone it won't load.
Also deploying like I previous did in the emulator won't work (not installed). 
I don't know if the emulator has already the QML plugin installed or not.

Can somebody help me out to start?

Dylan


 Original Message 
Subject: Re: [SailfishDevel] PyOtherSide
Local Time: March 2, 2016 2:28 pm
UTC Time: March 2, 2016 1:28 PM
From: dylan.van.ass...@protonmail.com
To: devel@lists.sailfishos.org

Hi Boris,

Thanks! I didn't saw that thread, I will take a look at it.

Cheers,
Dylan


 Original Message 
Subject: Re: [SailfishDevel] PyOtherSide
Local Time: March 2, 2016 2:22 pm
UTC Time: March 2, 2016 1:22 PM
From: bo...@pohlers-web.de
To: devel@lists.sailfishos.org

Hi Dylan,
try

pkcon install pyotherside-qml-plugin-python3-qt5

and for python development in general have a look at the thread on
tmo:
http://talk.maemo.org/showthread.php?t=91049

A lot of questions are already answered there!

Boris






Am Mittwoch, den 02.03.2016, 08:16 -0500 schrieb Dylan Van Assche:
> Hi everyone,
>
> I want to make an app with Python instead of C++ in the Sailfish QT
> editor, however I don't know how to install PyOtherSide...
> Also, when I want to deploy it on my Jolla, how can I install
> PyOtherSide there?
>
> I read the PyOtherSide docs but I can't figure out how to do that.
>
> Cheers,
> Dylan
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfis
> hos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] PyOtherSide

2016-03-02 Thread Dylan Van Assche
Hi everyone,

I want to make an app with Python instead of C++ in the Sailfish QT editor, 
however I don't know how to install PyOtherSide...
Also, when I want to deploy it on my Jolla, how can I install PyOtherSide there?

I read the PyOtherSide docs but I can't figure out how to do that.

Cheers,
Dylan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Happy holidays from Jolla Harbour!

2015-12-23 Thread Dylan Van Assche
Merry Christmas!



 Original Message 
Subject: Re: [SailfishDevel] Happy holidays from Jolla Harbour!
Local Time: December 23 2015 1:52 pm
UTC Time: December 23 2015 12:52 pm
From: jollail...@gmail.com
To: devel@lists.sailfishos.org

Merry Christmas/happy holidays to all of you! And thanks for your hard work!

--
Lähetetty Jollastani
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Update 2.0.1.3 and ssh

2015-11-02 Thread Dylan Van Assche
Yes I guess since I can't update trough the regular updater with early access 
enabled.
The ones that already installed the 2.0.1.3 what are the major changes?

Dylan

 Original Message 
Subject: Re: [SailfishDevel] Update 2.0.1.3 and ssh
Local Time: November 1 2015 9:47 pm
UTC Time: November 1 2015 8:47 pm
From: fake...@gmail.com
To: devel@lists.sailfishos.org

2.0.1.3 - it is for early early adopters, isn't it?



On Wed, Oct 28, 2015 at 8:46 PM, David Greaves  wrote:

Login to the device as root and:

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.safe
cat <> /etc/ssh/sshd_config
# Added this line to enable SDK to connect
Ciphers +aes128-cbc
EOF
systemctl restart sshd.service

***
Don't forget to fix it when the new QtC comes out!
***


WARNING: This does 'weaken' the ssh service on your device by allowing this 
weaker cipher.

Note that 'normal' ssh connections would not typically be vulnerable but as you 
can see, QtC uses this weak cipher by default :/

David





On 28/10/15 12:42, Adam Pigg wrote:


Is there a workaround/time frame for update? I've got fixes to make ‎for 
Harbour qa rejections! :)

Sent from my BlackBerry 10 smartphone.
Original Message
From: Jussi Pakkanen
Sent: Wednesday, 28 October 2015 12:40 PM
To: devel@lists.sailfishos.org
Reply To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Update 2.0.1.3 and ssh

On 28.10.2015 14:33, Adam Pigg wrote:



‎After updating my tablet last night to 2.0.1.3 I could no longer
connect using Qt creator / ssh. The client and server ciphers didn't
match. I have not installed anything from openrepos such as a
different ssh package.

This is caused by the fact that the SSH server has stricter cipher
requirements in 2.0.1. The next SDK version will have newer QtC which
will support deployment to these devices.

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] QML switch connecting to a C++ function

2015-09-14 Thread Dylan Van Assche
Hi devel-Sailors,

I have read a lot of tutorials about exposing data from C++ to QML and the
other way.
Even source code from I2CTools which has the component that I need: enable
and disable VDD.
However, I still don't understand how to connect a simple switch to a C++
function. I no longer see the wood for the trees.

Can somebody assist me here?

Cheers,
Dylan
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] executing step 'qmake'

2015-09-13 Thread Dylan Van Assche
Hi Devel-Sailors,

I want to build the I2CTool app in the SDK however I get this error:

19:43:27: The process
"/home/dylan/.config/SailfishBeta5/mer-sdk-tools/MerSDK/SailfishOS-i486/qmake"
exited with code 126.

Error while building/deploying project i2ctool (kit: MerSDK-SailfishOS-i486)

When executing step 'qmake'


If I try it with another app I get the same error...

Cheers,
Dylan
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Accessing Jolla GPIO without root

2015-09-05 Thread Dylan Van Assche
Hi Develsailors,

I want to build a Sailfish app which interact with the Adafruit Powerboost
500C.
That's a LiPo charger and booster in one simple package.

The idea is to build a PowerTOH which is smart enough to start charging the
Jolla when his battery his below a certain percentage. In order to do that
I need to make an app which can read the INT-pin on the Jolla Phone and can
control the VDD output.

The VDD-output controls the charging while the INT-pin will read if the
Powerhalf TOH his battery is low.

Is there a way to access these pins without root in an app?

Cheers,
Dylan Van Assche
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org