[SailfishDevel] oauth authorization for application

2014-02-14 Thread Oleg Linkin
Hi, all I am developing client for getPocket.com service and I have problem with auth. After login service send auth status (grant permissions on not to application) via redirect_uri. How I should handle it or what sequence of actions in this case? ___ Sa

Re: [SailfishDevel] oauth authorization for application

2014-02-14 Thread Martin Grimme
Hi, the way I'm doing it in Cargo Dock for Dropbox is basically having the SilicaWebview watch the uri property and react to it in the onUriChanged signal handler, if the redirect_uri matches the one I'm expecting. Martin 2014-02-14 9:32 GMT+01:00, Oleg Linkin : > Hi, all > I am developing cli

Re: [SailfishDevel] Please help me, how to get the screen capture without block UI

2014-02-14 Thread Raine Mäkeläinen
Hi, If you want to capture something on your application side, you can grab whole window through QQuickItem. This part is blocking but you can do capture manipulations in async manner quite simple by using QFutureWatcher. Like: void ScreenShow::screenShot(QQuickItem *item) { if (item && it

Re: [SailfishDevel] undefined symbols

2014-02-14 Thread . .
Well, now that I have that out of the way, I'm hitting another road block. The phone doesn't vibrate at all. :( What I'm seeing in my call to QFeedbackActuators::actuators() is a single actuator called "FF_MEMLESS". When I use that single actuator with QFeedbackHapticsEffect::setActuator(), an

Re: [SailfishDevel] oauth authorization for application

2014-02-14 Thread Oleg Linkin
I try to do as you adviced me but if I don't give access to application a get the next url changes: 1) https://getpocket.com/auth/approve_access 2) linksbag:/authorizationFinished - this is my redirect_uri If I give access to application a get the next url changes: 1) https://getpocket.com/auth/ap

Re: [SailfishDevel] undefined symbols

2014-02-14 Thread Andrey Kozhevnikov
show code please On 14.02.2014 15:30, . . wrote: Well, now that I have that out of the way, I'm hitting another road block. The phone doesn't vibrate at all. :( What I'm seeing in my call to QFeedbackActuators::actuators() is a single actuator called "FF_MEMLESS". When I use that single act

Re: [SailfishDevel] Install sailfish-browser to emulator

2014-02-14 Thread Steph Gosling
Hi, On Fri, 14 Feb 2014 09:21:03 +0300 Oleg Linkin wrote: > Is it possible& May be somebody has success story about this? > I can't find browser in repos or anywhere in rpm. > I try to build it myself but can't due to embedwidge dependency which I > can't solve When did you try and build it, I

Re: [SailfishDevel] undefined symbols

2014-02-14 Thread . .
#include #include #include #include #include Q_DECL_EXPORT int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); // get the actuator list QList list = QFeedbackActuator::actuators () ; // get the Vibra QFeedbackActuator * vibra = 0; QFeedbackActuato

Re: [SailfishDevel] Please help me, how to get the screen capture without block UI

2014-02-14 Thread itviewer
thanks,But I want capture all the desktop screen ma xinun 发件人: Raine Mäkeläinen 发送时间: 2014-02-14 17:25 收件人: Sailfish OS Developers 主题: Re: [SailfishDevel]Please help me, how to get the screen capture without block UI Hi, If you want to capture something on your application side, you can grab

Re: [SailfishDevel] Install sailfish-browser to emulator

2014-02-14 Thread Vesa-Matti Hartikainen
Hi, On 02/14/2014 11:35 AM, Steph Gosling wrote: Hi, On Fri, 14 Feb 2014 09:21:03 +0300 Oleg Linkin wrote: Is it possible& May be somebody has success story about this? I can't find browser in repos or anywhere in rpm. I try to build it myself but can't due to embedwidge dependency which I c

Re: [SailfishDevel] Install sailfish-browser to emulator

2014-02-14 Thread Oleg Linkin
Thank you. I did all this and browser started successfully. 2014-02-14 15:03 GMT+03:00 Vesa-Matti Hartikainen < vesa-matti.hartikai...@jolla.com>: > Hi, > > > On 02/14/2014 11:35 AM, Steph Gosling wrote: > >> Hi, >> >> On Fri, 14 Feb 2014 09:21:03 +0300 >> Oleg Linkin wrote: >> >> Is it possib

Re: [SailfishDevel] oauth authorization for application

2014-02-14 Thread Luca Donaggio
I'm doing the same as Martin for my Feedly client. On auth failure, parameters attached to redirect_uri (GET method) are different; after detecting your redirect_uri you should analyze it and decode any (eventual) parameters. Auth token is among those, by the way. On Fri, Feb 14, 2014 at 10:35 AM

[SailfishDevel] Scroll Indicator

2014-02-14 Thread Chris Walker
Simple question, Is it possible to make the scroll indicator more permanent and wider so that the user can grab it in order to scroll a long list? I have a list of items which is around 700 items in length. In due course I hope to able to put some filtering in place, rather like the People app, t

Re: [SailfishDevel] Scroll Indicator

2014-02-14 Thread Andrey Kozhevnikov
there are no "other" scroll in sailfish silica. you need to make your own. or implement some fast section scroller like mine: https://github.com/CODeRUS/mitakuuluu/blob/master/persecute2/qml/FastScroll.qml if you have so long list it's good idea to separate it to some sections. if not you need

Re: [SailfishDevel] Please help me, how to get the screen capture without block UI

2014-02-14 Thread itviewer
Hi Storbjörk , Thank you very much,you are right! By the way,in the latest “screenshot”,if choose “Use PNG”option,it will also block the UI! Therefore, we should use .jpg instead of .png! thanks again. ma xinjun 发件人: Andreas Storbjörk 发送时间: 2014-02-14 23:51 收件人: Sailfish OS Developers 主题: R

Re: [SailfishDevel] Please help me, how to get the screen capture without block UI

2014-02-14 Thread Andreas Storbjörk
Hi, You could try to save as .jpg instead and see if that speeds it up. On 14.2.2014 09:19, itviewer wrote: Dear , attachment is all my code,and I have been tried many times but it still block the UI(about 3seconds) when the program starts ( or after click the label“Hello Sailors”

Re: [SailfishDevel] undefined symbols

2014-02-14 Thread . .
Anyone? From: dr...@hotmail.com To: devel@lists.sailfishos.org Date: Fri, 14 Feb 2014 10:49:14 + Subject: Re: [SailfishDevel] undefined symbols #include #include #include #include #include Q_DECL_EXPORT int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); //

[SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-14 Thread Rob Hoelz
Hi all, I'm working on an update for my Sudoku application, and one of the new features necessitates a storage schema change. So I wrote a utility function that tries to open a connection with the correct version, and falls back to calling db.changeVersion if there is a version mismatch. After te

[SailfishDevel] How can I get the system info through Qt/C++

2014-02-14 Thread itviewer
Hi all, I want get the system info,for example: usedSpace / totalSpace ,Manufacturer ,device model ,IMEI ,sailfish_version …… Maybe it can get something through “org.nemomobile.systemsettings ”by qml,but I need get it by Qt/C++ . As there is no QtSystem module can be used currently,so I want know