![]() |
Re: Help me to code for Sailfish OS
Fuzzillogic, why you dont c++ this stuff?
|
Re: Help me to code for Sailfish OS
Quote:
|
Re: Help me to code for Sailfish OS
is phonehook using qml for this? can you point me to code?
|
Re: Help me to code for Sailfish OS
Phonehook uses C++/Qt for this. Source. But as far as I can gather, this dbus connection there is set up at a time the /calls/active path doesn't exist. That path only exists when there actually is an active call. It seems the Qt-code can handle this, but Nemo's DBusInterface can't.
|
Re: Help me to code for Sailfish OS
Is it possible to copy selected text in SilicaWebView to the clipboard? The text is in an iframe, so I cannot do this by injecting JavaScript.
|
Re: Help me to code for Sailfish OS
Quote:
|
Re: Help me to code for Sailfish OS
Hi out there!
Being a total newbie with nearly every part of the SFOS development universe (i.e. Silica, QML, qt, Python, C++ - I did some webdev with SQL, HTML, PHP, JavaScript, ect. in the past), I would like to create a SFOS-app to control some hardware devices. The latter can done by WIFI and web-APIs (mostly sending HTTP-POSTs and caring for JSON responses) for which there are open source libraries available in Python and JavaScript (many of them using Node.js). The app should provide a simple GUI to control the devices (some buttons) and to display device states at last. After reading a lot and taking my first steps with the SFOS IDE, a few questions remain yet: 1. Which way would you go: Qt Quick including Python libraries or Qt Quick (QML only?) including JavaScript libraries? And why would you do so? 2. How do I integrate avalible Python- or JavaScript libraries into my own projects correctly (especially JS-libs using Node.js) and what has to be taken care of doing so? 3. What do I have to take into account regarding the licenses of the libraries? 4. As SFOS (unfortunately) is a not very widespread plattform, I consider publishing the app for other plattforms (iOS, Android), too (starting with the sailfish version using the SFOS IDE). How can this be achieved in the most effective way? Thanks in advance and greetings, BGK |
Re: Help me to code for Sailfish OS
|
Re: Help me to code for Sailfish OS
Quote:
|
Re: Help me to code for Sailfish OS
1 Attachment(s)
Quote:
EDIT: Well I have overlooked it, at https://doc.qt.io/qt-5/qml-qtquick-listview.html Quote:
EDIT2: since these buttons are not anyhow dynamic I have recreated SilicaListView and ListItems to Row and Rectangles and it fits. |
All times are GMT. The time now is 09:05. |
vBulletin® Version 3.8.8