[SailfishDevel] Sailfish 2.0 libcommhistory

2015-11-04 Thread Alexander Maliyev
Hi, everybody, After updating my phone to 2.0 my old application has stop working. The problem seem to be related to libcommhistory-qt5 (undefined symbol: _ZNK11CommHistory5Event9remoteUidEv). App is working fine in emulator though. After some digging I found out that there are different vers

Re: [SailfishDevel] Opening messaging app from qml.

2015-07-21 Thread Alexander Maliyev
Hi, You can open messaging app with dbus call. C++ code will look like this void MyClass::composeSMS(const QString &number) { if (!number.isEmpty()) { QDBusMessage message = QDBusMessage::createMethodCall( "org.nemomobile.qmlmessages", "/",

Re: [SailfishDevel] QCamera set device

2015-07-20 Thread Alexander Maliyev
Got it, Thanks a lot On Jul 20, 2015, at 6:51 PM, Андрей Кожевников wrote: > Hello, you can look at this code: > https://gist.github.com/CODeRUS/b0df7dd5edfe9bba8d2c > > 20.07.2015 17:18 пользователь "Alexander Maliyev" > написал: > Hi, > > I have troubl

[SailfishDevel] QCamera set device

2015-07-20 Thread Alexander Maliyev
Hi, I have trouble opening particular device (front face / back face) with QCamera on Jolla / Sailfish. As per documentation I should pass device name constant to QCamera constructor, however QCamera::availableDevices() does not return anything. Could somebody help me on what const should I pas