[SailfishDevel] How can I setup calendar access via QML ?
Matthias Barmeier
barmeier at barmeier.com
Tue Jan 28 08:27:16 UTC 2014
Hi,
I have successfully gained read access to the calender. After reverse
engineering the jolla calendar.
Hopefully write access will work too .
Ciao
Matze
Am 27.01.2014 13:18, schrieb 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
More information about the Devel
mailing list