Re: [SailfishDevel] QtWebKit QWebView

2014-01-27 Thread Aaron McCarthy
On Fri, 24 Jan 2014 22:40:43 Hannes Rantzsch wrote:
> no, unfortunately I didn't get it working. Had no time for further
> fiddling around yet.
> Yeah, XMLHttpRequest looked nice to me too first. But the page I want
> does not offer anything for that. Just plain html.
> 
> I would still like to get QWebFrame working, as Aaron suggested. Maybe
> now someone has an idea what kind of configurations are needed to get it in?

Unfortunately QWebFrame seems to be part of Qt WebKit Widgets as well. I 
suggest looking at what functionality is provided by Qt WebKit and see if that 
meets you needs. Depending on the complexity of the HTML that you want to 
parse and what you want to extract out of it, it is possible to use 
QXmlStreamReader perhaps with some pre-processing.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list


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

2014-01-27 Thread Aaron McCarthy
Hi,

I replied to a duplicate email off list.

On Fri, 24 Jan 2014 12:22:25 Sylvain B. wrote:
> I did more tests today in the subway with a limited connectivity and it was
> actually hard to reproduce (1 out of 15-20 attempts), so as the stacktrace
> suggest, it has something to do with the caching operation.Now that I have
> a better 3G connectivity, I can reproduce it more often but not as often
> than yesterday in Wifi. It never occurs at the first attempt, I'd say I
> have to try between 2 and 10 times, it depends, while in Wifi it was almost
> always crashing at the first attempt. When not panning the Map, it occurs
> less frequently, but I am not sure how frequently. I will make more tests
> this WE. But If I simply push/pop/push/pop/... the Map without panning it,
> it never crashes.

Thanks for the information.

> And why the only available docs are on developer.ubuntu.com?

Qt Positioning and Qt Location are not currently supported APIs in SailfishOS. 
Once they are their documentation will be available with the rest of the 
SailfishOS developer documentation.

Qt Positioning documentation is available as part of the Qt 5.2 docs at qt-
project.org/doc. Qt Location has not been officially released yet. Once it is 
it will be documented there as well.

Cheers,

-- 
Aaron McCarthy
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Jolla behaving weird

2014-01-27 Thread Jonni Rainisto
Bugs to together.jolla.com, keep this mailing list for devel posts, thanks.


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Tone Kastlunger [users.giulie...@gmail.com]
Sent: Monday, January 27, 2014 9:00 PM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] Jolla behaving weird

Hey,
so lately things have gone "wild" on my jPhone.

First facebook transfer engine plugin disappeared from the list.
Successively, phone started booting randomly when opening email client (didn't 
use to happen before), and browsing (had happened a few times).

How to get more info on the background?

I will keep on monitoring and reporting, and will create a support ticket as 
well.
___
SailfishOS.org Devel mailing list

[SailfishDevel] Jolla behaving weird

2014-01-27 Thread Tone Kastlunger
Hey,
so lately things have gone "wild" on my jPhone.

First facebook transfer engine plugin disappeared from the list.
Successively, phone started booting randomly when opening email client
(didn't use to happen before), and browsing (had happened a few times).

How to get more info on the background?

I will keep on monitoring and reporting, and will create a support ticket
as well.
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-27 Thread Ove Kåven

On 01/27/2014 01:18 PM, Pekka Vuorela wrote:

Worth noting that the qml plugin is not stable API, and also on the
device the calendar database is protected from third party apps.


Not really. It has already been established on this list that if you 
start your app with "invoker" (which I think third party apps are 
encouraged to do, to make them launch faster or something), then it 
automatically gains the necessary permissions for accessing the PIM 
databases (because the boosters used by invoker are sgid privileged).


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-27 Thread Pekka Vuorela
On Sat, 2014-01-25 at 17:48 +0100, Ove Kåven wrote:
> Den 25. jan. 2014 13:55, skrev Matthias Barmeier:
> > Hi,
> >
> > do you mean that all these packages:
> >
> > qt5-qtdeclarative-pim-organizer
[...]
> > are obsolete or am  I unable to use them from QML ?
> 
> Like Andrey, I'm convinced they are not used on Jolla. If you check, 
> you'll see that none of these QtOrganizer packages are installed by 
> default on the actual Jolla device, nor depended on by jolla-calendar. 
> Since I can find no QtOrganizer backend to interface with the actual 
> calendar, I'm pretty sure that trying to use QtOrganizer will not work 
> in any useful way, even if you can access it from QML.

Correct. Calendar is using Mkcal and currently there is no QtOrganizer
backend for it.

> > Do you have a hint where I can found an example on how to access the
> > calendar with nemo.mobile.org ?
> 
> For an example, you could always install jolla-calendar into your Jolla, 
> ssh into it, and look under /usr/share/jolla-calendar to study their QML.
> 
> Or you could, if you like, study the source code of 
> org.nemomobile.calendar at
> https://github.com/nemomobile/nemo-qml-plugin-calendar/tree/master/src

Worth noting that the qml plugin is not stable API, and also on the
device the calendar database is protected from third party apps.


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] sailfish ui on laptop

2014-01-27 Thread Kalle Vahlman
2014/1/25 Christophe Varoqui :
> Hello,
>
> First, sorry to post there, but I couldn't find a sailfish-users mailing
> list.
>
> I use a yoga 2 laptop with ubuntu as my primary workhorse, which has some
> interesting caracteristics:
> - highdpi : 3200x1800 pixels
> - touch screen
> - can be folded 360° to a tablet format
>
> I'm quite underwhelmed with the current Linux desktop environments available
> with this setup, and though the sailfish ui could make a lot of sense there.

Couple of points make this mostly unfeasible today:

1) The current Sailfish UI is designed for a mobile phone, with
moderate resolution portrait screen and held in your hand. Your laptop
has (in comparison) a huge landscape screen that is either on the desk
or on your lap (push-from-sides gestures might be awkward in those
configurations).

2) SailfishOS is based on Wayland, so you will effectively lose most
apps you'd use on Linux desktop today. You could possibly run the
existing X11-based apps through X.Org server acting as a Wayland
client, but then of course you will just get the same experience as
with current desktop...

> Is there a way to install and evaluate this ui in my setup ?

The SailfishOS SDK has an emulator that you could try the UI with, it
has an application showing off the usual interactions. No real
applications there though.

> Anyway, I hope you will appreciate someone out there thinks there is
> potential in sailfish ui in the desktop space with modern hardware.

Once/if there shall be a tablet-oriented UI for SailfishOS, you might
want to revisit this idea. But as it stands right now, it wouldn't be
as great idea as one might think at first.

-- 
Kalle Vahlman, Movial Creative Technologies Inc.
Porkkalankatu 20, FI-00180 Helsinki
Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.com
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-27 Thread Marcin M.
@Martin: And which statement in the TOS of, let's take, Google does it? I
didn't notice it (or maybe it's a fairly new statement)

--
Marcin


2014-01-27 Jarkko Lietolahti 

> Hi,
>  This might shed some infromation about this issue:
> http://techcrunch.com/2010/11/04/facebook-google-contacts/#
>
>
>
> On Mon, Jan 27, 2014 at 2:48 AM, Thomas Tanghus wrote:
>
>> On Sunday 26 January 2014 20:48 Bernd Wachter wrote:
>> > Our plans for contacts are to first make all local contacts available to
>> > your applications, and then fine-tune how we're dealing with contacts
>> > from 3rd party services.
>>
>> Sounds like a reasonable approach. You shouldn't be blocked from your own
>> data.
>> But 3rd parties of course shouldn't block development of standards like
>> CardDAV - nudge-nudge ;)
>>
>> --
>> Med venlig hilsen / Best Regards
>>
>> Thomas Tanghus
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-27 Thread Kimmo Lindholm

Confirm this too. 

Had a "hearbeat" counter between C and QML. (wrote from QML , C increments +1 
and emits signal that it is changed)

This was not incremented if i started app from command line (ssh) when screen 
locked.

-kimmo




Lähettäjä: devel-boun...@lists.sailfishos.org 
[devel-boun...@lists.sailfishos.org] käyttäjän Tero Siironen 
[izer...@gmail.com] puolesta
Lähetetty: 27. tammikuuta 2014 07:50
Vastaanottaja: Sailfish OS Developers
Aihe: Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with 
screen locked

Just to confirm this, I'm having same issues with my app. If I launch
it and put the screen off right away the application's screen is not
updated when I open it again from the cover. Have to swipe it back to
home and reopen it to get updated window.


--
Tero

2014/1/26  :
> Hi Ove
>
> That's pretty much the behaviour I get, and the swipe to multitasking and
> back fixes things.
>
> The behaviour 1s 100% reproducible  when the screen is locked during deploy,
> and never occurs when deploying to an unlocked screen.
>
> That the problem to do with bindings is only a wild assumption on my part,
> it could be down to the screen not updating as you suggest.
>
> Grüsse
>
> Chris
>
>
> Zitat von "Ove Kåven" :
>
>
>> Den 26. jan. 2014 13:42, skrev christopher.l...@thurweb.ch:
>>>
>>> Hi all
>>>
>>> I have come across some weird behaviour on the Jolla:
>>>
>>> Bindings don't seem to work immediately after an app has deployed when
>>> the screen is locked.
>>
>>
>> Are you able to tell the difference between something like this, and the
>> more straightforward issue of the app display simply not updating? I
>> frequently experience the latter immediately after a deploy. If I click
>> anything, or try to use the pulley menu, I can hear the sounds and get the
>> console logs, but the display doesn't start updating before I swipe out to
>> the multitasking view and then reactivate it. Everything works otherwise.
>>
>> ___
>> SailfishOS.org Devel mailing list
>>
>
>
>
> ___
> SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-27 Thread Jarkko Lietolahti
Hi,
 This might shed some infromation about this issue:
http://techcrunch.com/2010/11/04/facebook-google-contacts/#


On Mon, Jan 27, 2014 at 2:48 AM, Thomas Tanghus  wrote:

> On Sunday 26 January 2014 20:48 Bernd Wachter wrote:
> > Our plans for contacts are to first make all local contacts available to
> > your applications, and then fine-tune how we're dealing with contacts
> > from 3rd party services.
>
> Sounds like a reasonable approach. You shouldn't be blocked from your own
> data.
> But 3rd parties of course shouldn't block development of standards like
> CardDAV - nudge-nudge ;)
>
> --
> Med venlig hilsen / Best Regards
>
> Thomas Tanghus
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list