|
2016-03-13
, 11:20
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#12
|
I'm planning to pick up the QML stuff (started already cleaning up the code).
The Following 3 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-03-13
, 11:29
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#13
|
The Following User Says Thank You to ruff For This Useful Post: | ||
|
2016-03-13
, 11:47
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#14
|
Ehm, yes, if there's xml or just bullet-point call/descr. to avoid reverse-engineering it.
I can of course, to VM, and even to the phone, but how would it work when generating harbour RPM - will it pull the dependency from some (hidden) repo? If not - should be statically linked (as smoku did).
The Following 5 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-03-13
, 13:43
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#15
|
In org.rockwork, there's a core object registered then one for each pebble. The core one is /org/rockwork/Manager:
...
Yes, it gets declared as a dependency in the RPM, then the lib just gets installed from the standard Sailfish repo during install, just like other libs. As for the harbour - I think this has about as much chance of getting in the Jolla store as Smoku's did - it just uses too many not-yet-approved APIs.
|
2016-03-13
, 13:50
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#16
|
Great, thanks! Can you point me to this Sailfish repo with i386/arm7 rpms pre-built for SFOS - I've tried some suse build but that was built against qt4
|
2016-03-13
, 14:04
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#17
|
The Following User Says Thank You to ruff For This Useful Post: | ||
|
2016-03-13
, 14:42
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#18
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
import dbus
from optparse import OptionParser
def main():
dbus = DBus()
dbus.notify()
class DBus():
"""Wrapper class for notify daemon dbus interface"""
def __init__(self):
self.__notify = dbus.SessionBus().get_object("org.rockwork", "/org/rockwork/B0_B4_48_78_2E_4B")
self.__iface = dbus.Interface(self.__notify, "org.rockwork.Pebble")
def notify(self):
self.__iface.SetHealthParams({ "enabled": True, "age": 41, "gender": "male", "height": 176, "weight": 95, "sleepMore": True, "moreActive": True })
if __name__ == "__main__":
main();
|
2016-03-13
, 18:22
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#19
|
|
2016-03-14
, 22:51
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#20
|
The Following 8 Users Say Thank You to abranson For This Useful Post: | ||
I'm currently using smoku's pebled on the phone and even started porting appstore to the api2 and now stumbled upon this project (where new store is already on board).
I'm planning to pick up the QML stuff (started already cleaning up the code).
Have one question tho - while building the project it complains about missing quazip. I can add it of course from smoku's tree, just wonder is it only me or why is it missing - so that I won't screw it up by adding again.
Regards,
ruff