[SailfishDevel] Recording of Carsten Munk's presentation at Fosdem

2014-02-10 Thread winfried . dobbe
The video of Carsten Munk's Fosdem presentation "Technical introduction to
the deeper parts of SailfishOS" is now online at:

http://youtu.be/Ed8duAnlwHc


Note that the video that is currently available at the Fosdem video
archive has recording issues, so better not to watch that one. I'll try to
replace it with the manually edited version that I uploaded to youtube.

regards,

Winfried

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] When does Jolla give us an API?

2014-02-10 Thread Attila Csipa

On 09/02/14 14:52, David Greaves wrote:

On 09/02/14 11:28, Putze Sven wrote:

As pointed out from others, it's not simply done with the Qt documentation.
The Sailfish OS is built upon many libraries, frameworks and layers. But
which one is to use?

Qt.

Seriously. You asked for "an API". Jolla supports the Qt API precisely because
it is a single, high level, app-suitable API that is well managed and open. It
provides a significant degree of platform independence by abstracting a large
amount of platform capability provided by those underlying layers; there is not
much 'limited' about it :)


Even the list of Qt libs at 
https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf 
is fairly skimpy. Skimpy to the point that even all the Qt essential 
modules are not covered. The fact that Qt itself is a bit, well, 
optimistic when it says " They are available on all supported 
development platforms and on the tested target platforms" is a different 
matter. With the loss and current slow rebuilding of the mobility 
functionally, feature-rich/low-level development is on the hard side. 
Back in the Harmattan days this was the exact reason why there was the 
QtSDK for the high-level app-developer and a Platform SDK for all the 
people who didn't mind their hands getting dirty and getting an 
incompatibility or two as things moved on.


Attila
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Recording of Carsten Munk's presentation at Fosdem

2014-02-10 Thread Chris Walker
On Mon, 10 Feb 2014 11:17:49 +0100
winfried.do...@xmsnet.nl wrote:

> The video of Carsten Munk's Fosdem presentation "Technical
> introduction to the deeper parts of SailfishOS" is now online at:
> 
> http://youtu.be/Ed8duAnlwHc

Are the slides available anywhere?
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Recording of Carsten Munk's presentation at Fosdem

2014-02-10 Thread Jukka Eklund
http://releases.merproject.org/~carsten/SailfishFOSDEM2014_vfinal.pdf



On 10 February 2014 13:35, Chris Walker <
cdw_noki...@the-walker-household.co.uk> wrote:

> On Mon, 10 Feb 2014 11:17:49 +0100
> winfried.do...@xmsnet.nl wrote:
>
> > The video of Carsten Munk's Fosdem presentation "Technical
> > introduction to the deeper parts of SailfishOS" is now online at:
> >
> > http://youtu.be/Ed8duAnlwHc
>
> Are the slides available anywhere?
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Haptic feedback for silica components, or lack thereof.

2014-02-10 Thread Pekka Vuorela
On Sat, 2014-02-08 at 19:31 +0100, Luciano Montanaro wrote:
> Hello, everybody,
> 
> I have spent the afternoon playing with my calculator application.
> Using it, I realised it needs some feedback to the user, since
> pressing the keys obscure them, and the highlighting is mostly lost.
> 
> So I checked what is available, and found that QtFeedback is what I needed.
> 
> Now the calculator has its feedback, which is ok.
> 
> I am using ThemeEffect.PressWeak, which feels right.
> 
> However...
> 
> I am not sure using a Button together with the effect is right:
> 
> it is possible that in the future Buttons will ue haptics feedback on
> their own, so my usage would interfere. So I fear this change will not
> be acceptable in the Harbour.
> 
> Since haptic feedback is already used in the pulley menu, I expect
> more silica components will get it in the future, can someone confirm
> this?
> 
> Should I spin my own custom buttons?

Haptic support for some more components may come, but if such happens to
Button, we should at minimum give some warning beforehand, or then make
it opt-in with a property.

Then again for calculator kind of key pad, I'd myself prefer something
else than a Button. E.g. phone number inputs, Jolla calculator, device
lock, etc, have a button area with press highlight rectangle.


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Haptic feedback for silica components, or lack thereof.

2014-02-10 Thread Luciano Montanaro
Thank you for your answer.

Well, as for haptics on buttons, at least on symbian, most controls
have a subtle click... that I think really helps to know a touch has
been registered. As long as it is only a click, and not a buzz, It
should be ok. But opt-in is fine with me. Better yet, if feedback can
be user customized, with a mix of sounds and haptics. I suppose not
all devices will have the same capabilities.

I think I will make the keypad more similar to the virtual keyboard;
that will avoid the "haptics" overlapping problem.
Too bad the QtFeedack is not cleared for the store anyway...

Best regards,
Luciano


On Mon, Feb 10, 2014 at 1:00 PM, Pekka Vuorela  wrote:
> On Sat, 2014-02-08 at 19:31 +0100, Luciano Montanaro wrote:
>> Hello, everybody,
>>
>> I have spent the afternoon playing with my calculator application.
>> Using it, I realised it needs some feedback to the user, since
>> pressing the keys obscure them, and the highlighting is mostly lost.
>>
>> So I checked what is available, and found that QtFeedback is what I needed.
>>
>> Now the calculator has its feedback, which is ok.
>>
>> I am using ThemeEffect.PressWeak, which feels right.
>>
>> However...
>>
>> I am not sure using a Button together with the effect is right:
>>
>> it is possible that in the future Buttons will ue haptics feedback on
>> their own, so my usage would interfere. So I fear this change will not
>> be acceptable in the Harbour.
>>
>> Since haptic feedback is already used in the pulley menu, I expect
>> more silica components will get it in the future, can someone confirm
>> this?
>>
>> Should I spin my own custom buttons?
>
> Haptic support for some more components may come, but if such happens to
> Button, we should at minimum give some warning beforehand, or then make
> it opt-in with a property.
>
> Then again for calculator kind of key pad, I'd myself prefer something
> else than a Button. E.g. phone number inputs, Jolla calculator, device
> lock, etc, have a button area with press highlight rectangle.
>
>
> ___
> SailfishOS.org Devel mailing list



-- 
Luciano Montanaro

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job. -- Douglas Adams
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Local desktop files

2014-02-10 Thread Matthias Fehring
For the records:

lipstick launcher is only searching in /usr/share/applications for desktop 
icons.

See also https://github.com/nemomobile/lipstick/tree/master/src/components


Am Samstag, 8. Februar 2014, 14:21:12 schrieb Matthias Fehring:
> Hello,
> 
> is it somehow possible to install local desktop files in locations like
> ~/.local/share/applications that are shown in the launcher?
> 
> Trying to put some in that path or in ~/Desktop (with xdg-desktop-icon) does
> not show them up in the launcher. Seems that the launcher only observes
> /usr/share/applications for desktop files. Copying one there as root shows
> it up in the launcher. But that is not really good practice. Especially
> when the icons should be shortcuts to web pages.
> 
> Best greetings
> Buschmann

-- 
Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
(Friedrich Schiller - Die Räuber)

Und der Buschfunk spielt gerade "Ouverture 1812 Op. 49" von "Berliner 
Philharmoniker".

www.buschmann23.de
GPG-Key: 0x720AADE0


signature.asc
Description: This is a digitally signed message part.
___
SailfishOS.org Devel mailing list

[SailfishDevel] Question regarding porting SDL & OpenGL game to Sailfish

2014-02-10 Thread Iosif Hamlatzis
While waiting to receive my device I thought I should start porting my
games from BB10 & iOS to SailfishOS

I have a couple of questions using the IDE, I would like to inform that I'm
developing on Windows and my games use extensively SDL with OpenGL ES.

As I don't use Qt I tried to create a plain c++ project and I tried both
options using either qmake or cmake but I cannot make my code see the SDL
libraries (SDL, SLD_ttf, SDL_mixer, SDL_image)

Are there any related samples?
___
SailfishOS.org Devel mailing list

[SailfishDevel] DOM Traversal Example (C++)

2014-02-10 Thread Martin Björkström
Hi,

I'm trying to port an Harmattan application to Sailfish, but I'm stuck at
trying to get web page content via DOM Traversal.

Harmattan app uses QWebView for traversing a web pages DOM and getting the
content. Pretty much like the example here:
http://qt-project.org/doc/qt-5/qtwebkitexamples-webkitwidgets-domtraversal-example.html

Only problem is that e.g. QWebView is found in QtWebkitWidgets and AFAIK
QtWidgets are not supported in SailfishOS...

So, my question is: Is there another (simple) way getting Web page content
via DOM Traversal (in C++) without the use of QtWidgets?

Best Regards,
Martin
___
SailfishOS.org Devel mailing list