Hi,

if there is already an according harbour-api-request at
together.jolla.com you might also want to vote for this.
If not, you could open an according request.

OT:
Otoh, and sorry for taking this off-topic, this example again
illustrates the drawbacks of the current harbour rule situation.
In the current situation, developers trying to push to harbour tend to
reach situations where they need to (more or less) painfully work around
the limitations due to these rules.
Imho, this is a real pity as this may discourage developer from pushing
to the main Jolla app store.
Personally, I more or less resigned to push things to harbour, right now.



BR,

Ruediger




On 03/20/2014 07:49 AM, Andrey Kozhevnikov wrote:
> you can make own C++ dbus helper for mce. its just nemomobile qml import
> not allowed
> 
> On 20.03.2014 12:35, frances frederic wrote:
>> hi all
>>
>> I've used dbus package to prevent jolla from sleeping using same code
>> as /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml  but it seems to be
>> not allwed by jolla validation team when submitting to harbour.
>> ERROR [/usr/share/harbour-upnpplayer/qml/pages/FirstPage.qml] Import
>> 'org.nemomobile.dbus 1.0' is not allowed
>>
>> is there a qml alternative to prevent jolla from sleeping?
>>
>> regards,
>> Frédéric
>>
>>
>>
>>
>> Le Vendredi 21 février 2014 0h29, Ove Kåven <o...@arcticnet.no> a écrit :
>> Den 20. feb. 2014 19:16, skrev Arvid Fahlström Myrman:
>> > Well, I've at least solved the first problem by implementing a timer
>> similar to
>> > the one used by ScreenBlank in Sailfish.Media (see
>> > /usr/lib/qt5/qml/Sailfish/Media/ScreenBlank.qml for reference), and
>> it seems to
>> > work properly. I wonder though, how are we developers supposed to
>> know about
>> > these DBus services? Are they documented somewhere?
>>
>> Similar questions have already been answered in the past on this list,
>> at least. From the answers I got earlier, I understand that
>>
>> - all the MCE D-Bus calls are documented in
>> https://github.com/nemomobile/mce-dev/blob/master/include/mce/dbus-names.h
>>
>> - there's a more friendly API under development at
>> https://github.com/nemomobile/nemo-keepalive, which seems to have both
>> C++ and QML interfaces (which both does exactly what you're asking for,
>> including telling you when the screen goes blank). Presumably, when it's
>> ready and deployed, that is what Jolla will tell developers about, and
>> allow imports of.
>>
>> In the meantime, you may just have to write some C++ code that you can
>> use from your QML (or copy what you need of that nemo-keepalive into
>> your C++ code).
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>>
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
> 
> 
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> 


-- 
http://ruedigergad.com
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to