Re: [SailfishDevel] Dynamic QML refresh (localization)

2019-05-27 Thread jerome levreau
I came to the same issue I while time ago, also not being able (at least easily) to dynamically choose a key/translation at run time. I found no solution to those problems, adding lupdate/xml made me crazy I gave up and made/switched to my own translation api. It uses key/value with mozilla propert

[SailfishDevel] Listening for headset media button in qt/qml

2019-05-14 Thread jerome levreau
hi, I'm trying to make my app Muuzik - an audio player from the store - recognize bluetooth headset media button without luck. The headset is paired and works with the default / jolla media app as expected (prev, next, play/pause) My app provide an mpris2 interface, registered on dbus, it work pe

Re: [SailfishDevel] harbour : can't upload android apk

2018-01-07 Thread jerome levreau
android export with unity3d, I'm really disappointed with it. 2018-01-06 15:14 GMT+01:00 "Lutor, Zoltán" : > Hi, > > What do you mean by 'works on XperiaX or Jolla C but not on both'? > > Thx, > > Zoltan > > On Friday, January 5, 2018, jerome l

Re: [SailfishDevel] harbour : can't upload android apk

2018-01-05 Thread jerome levreau
thanks oleg. now it's working, well except my build on unity works on xperia or jolla c but not both, but that a different matter. 2018-01-04 12:45 GMT+01:00 Oleg Linkin : > Try to ask question to developer-c...@jolla.com > > 2018-01-04 14:34 GMT+03:00 jerome levreau > : >

[SailfishDevel] harbour : can't upload android apk

2018-01-04 Thread jerome levreau
Hi, I try to create a new app to harbour, this time an android app made with unity but it fail everytime with an error 500, "Sorry, there was an error processing your request. The administrators have been notified" apk is 19.1mb, name com.vostok.cube3d.apk I'm running it directly on the phone by

Re: [SailfishDevel] cannot install package on engine target any more

2017-09-07 Thread jerome levreau
(installed packages have ",i" at the end of line) >sdk-manage --devel --install >sdk-manage --devel --remove > > BR, > Martin > > -- > *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of j

[SailfishDevel] cannot install package on engine target any more

2017-09-07 Thread jerome levreau
hi, I' running qtcreator 4.0.1, sdk 1707 (2.1.1). I can build apps, log in into the engine, but I cannot install new package on engine target any more, for example nemonotification : (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: warning: /var/cache/zypp/packages/jolla/mw/arm

Re: [SailfishDevel] Retrieve application version

2017-09-03 Thread jerome levreau
hi, to get version of MY app while running I'm creating a variable : in .spec, add / change : %qtc_qmake5 \ VERSION=%{version} in .pro add : DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\" then in cpp, set version to the QGuiApplication : app->setApplicationVersion(QString(APP_VERSION)); fr

Re: [SailfishDevel] TextField.forceActiveFocus() works only every second time

2017-06-22 Thread jerome levreau
hi, I think this is an event loop issue, your event get in the middle or other ui pending signal. Her a walk around using a timer : Button { x: Theme.horizontalPageMargin text: qsTr("Hello Sailors") onClicked: { ta.text += "hello"; focus=false; bp_d.start();

Re: [SailfishDevel] (no subject)

2016-12-26 Thread jerome levreau
hi, can you be more specific because you gave us barely information to help you. I'm assuming you want to embed an html page in a qml, just use SilicaWebView, no additional import needed : import QtQuick 2.2 import Sailfish.Silica 1.0 Page { id:page SilicaWebView { id:web v

Re: [SailfishDevel] Sailfish sdk very unstable in linux

2016-12-11 Thread jerome levreau
hi, can you add more info because I'm on mint too and have zero problem from virtualbox or qtcreator (only getting soft and lib from repo). Suspend to ram and running for week or month without reboot. 2016-12-10 12:36 GMT+01:00 joao morgado : > I use the proprietary one from Nvidia. I'll try the

Re: [SailfishDevel] listening for volume change

2016-10-26 Thread jerome levreau
red. Thanks for the solution 2016-10-26 20:32 GMT+02:00 Andrey Kozhevnikov : > You need following: https://github.com/CODeRUS/harbour-lgremote- > webos/blob/master/qml/main.qml#L58 > > -- Исходное сообщение -- > От: "jerome levreau" > Кому: "Sailfish OS

[SailfishDevel] listening for volume change

2016-10-26 Thread jerome levreau
hi everyone, Here where I'm stuck : In my audio app, for a new functionality I would like to control volume. Now I'm trying to get a response (dbus signal) when user is changing volume with button (physical). My app has mpris2 control, I monitoring a read to the volume property (of org.mpris.Media

Re: [SailfishDevel] How does the mer build engine compile for armv7hl?

2015-01-10 Thread jerome levreau
for all project, click the project tab and add a kit, that all. Than select target from the build button (bottom left) to be able to deploy you have to add a device from tool->options->mobile ; dev mod must be enable (may need to reboot the phone) ; you can use the wifi ip, no need to plug a cable.

Re: [SailfishDevel] Tablet version SDK a.k.a 2.0

2014-11-21 Thread jerome levreau
Hi, I disagree Luciano. I'm too concern about an early sdk release for the tablet : Yes my apps will work on the tablet, services classes won't change but I definitively have to rethink layout (qml) and navigation to fit this new form factor. A simple scale up version will look awful... As pointed