Re: [SailfishDevel] Development on device, problem with missing dependencies

2018-02-16 Thread Kaj-Michael Lang
On Thu, 2018-02-15 at 13:50 +0200, Kaj-Michael Lang wrote:
> nothing provides pkgconfig(android-headers) needed by libhybris-
> libEGL-
> devel-0.0.5.18-10.11.3.jolla.armv7hl

Did the install via zypper with option 3 ignoring this dependency.
qt5 devel packages installed now just fine and I'm able to compile on-
device.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Development on device, problem with missing dependencies

2018-02-15 Thread Kaj-Michael Lang
I'm trying to install development packages on-device and pkcon/zypper
is complaining about breaking device. gcc and stuff is doing fine, it's
that some of the qt5-*-devel packages are having issues.

Doing some more digging around, what it actually tries to tell me is
that a package is missing:

nothing provides pkgconfig(android-headers) needed by libhybris-libEGL-
devel-0.0.5.18-10.11.3.jolla.armv7hl

Any ideas where to find a rpm that provides it ? Does not seem to be in
SDK.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to build ipset for Sailfish?

2018-01-19 Thread Kaj-Michael Lang
On Thu, 2018-01-18 at 17:13 +0800, Zhang Bird wrote:
> > [root@SailfishEmul ~]# ipset test testname 10.8.8.8
> 
> ipset v6.35: Cannot open session to kernel.

Most likely ipset is not enabled in the device kernel.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Should QAbstractVideoFilter on a VideoOutput now work with Qt 5.6 ?

2018-01-13 Thread Kaj-Michael Lang
On Wed, 2017-04-19 at 13:56 +0300, Kaj-Michael Lang wrote:
> Now that Qt 5.6 is available I started to work on a barcode reader
> app
> using QAbstractVideoFilter (as a filter on VideoOutput filters
> property) but it looks like it doesn't work/not supported, my filter
> code is never started (createFilterRunnable is never called).


Made a together item of this a while back
https://together.jolla.com/question/172229/qabstractvideofilter-does-no
t-seem-to-work/

No response.

Posted this questions ~8 months ago.

No response.

I don't wanna sound whiny or anything like that but does anybody follow
these anymore ? Or is this ml/together the wrong place to ask ?

Even a simple: "No, we will not support that" would be sort-of fine.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Porting a Sailfish App to iOS / Android | V-Play | Silica wrapper

2017-10-06 Thread Kaj-Michael Lang
On Wed, 2017-10-04 at 09:51 +0200, micu wrote:
> I just put down our experience with cross-platform mobile app
> development
> (on the same source code) for SailfishOS and iOS with Qt to a blog
> post

How did you handle the issue of GPLv3 incompatible with the apple app
store ? Or are you using commercial Qt license ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Should QAbstractVideoFilter on a VideoOutput now work with Qt 5.6 ?

2017-06-28 Thread Kaj-Michael Lang
On Wed, 2017-04-19 at 13:56 +0300, Kaj-Michael Lang wrote:
> Now that Qt 5.6 is available I started to work on a barcode reader
> app
> using QAbstractVideoFilter (as a filter on VideoOutput filters
> property) but it looks like it doesn't work/not supported, my filter
> code is never started (createFilterRunnable is never called).

Anyone ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Should QAbstractVideoFilter on a VideoOutput now work with Qt 5.6 ?

2017-04-19 Thread Kaj-Michael Lang
Now that Qt 5.6 is available I started to work on a barcode reader app
using QAbstractVideoFilter (as a filter on VideoOutput filters
property) but it looks like it doesn't work/not supported, my filter
code is never started (createFilterRunnable is never called).

If I build a similar (Qt components based) app as a Qt Android/Desktop
app it works so the code itself is ok, afaik.


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] IAP api

2017-03-28 Thread Kaj-Michael Lang
On Tue, 2017-03-28 at 16:50 +0700, tung tran wrote:
> Currently, i submit my android application to harbour and it working
> fine.
> So, if i use that android api, will it working in Sailfish OS?

Jolla does not provide IAP and Android apps can't use any google
services Android APIs.

But opening a browser should work just fine.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK version 1701 (2.1.0) is released to Early Access

2017-02-09 Thread Kaj-Michael Lang
On Thu, 2017-02-09 at 13:08 +, Jarkko Lehtoranta wrote:
>    * Qt 5.6 module imports allowed
>    * Relaxed app internal QML module naming rules.

Yay, these are very nice changes, thank you :D


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtLocation | Qt 5.6

2017-01-02 Thread Kaj-Michael Lang
On Mon, 2017-01-02 at 09:05 +, Peter Pykäläinen wrote:
> That is an option yes, but a bit of a cheat :)

Or even more of a filthy and dirty cheat, build it instead as a QtQuick
Component 2 Android app and you can use the latest version Qt (My
Android app built on 5.7.0 runs nicely).

But yeah, Jolla should really open up the allowed libraries asap.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Alternative to QAbstractVideoFilter ?

2016-07-01 Thread Kaj-Michael Lang
I'm working on a project that uses QAbstractVideoFilter and would like
to make a sfos version too but the problem is that it is available only
since Qt 5.5.

Is there some other alternative (QVideoProbe seems to only on android
afaik..) that I could use to inspect video frames ?

Or just wait for sfos to move to Qt 5.6/7/8 ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Not documented missing SDK features

2016-06-13 Thread Kaj-Michael Lang
On Mon, 2016-06-13 at 11:00 +0300, E.S. Rosenberg wrote:
> After a week of trying to get sound working on the SDK only to
> discover that the issue is the SDK doens't support it while my code
> works on my phone I can only say I a very miffed.

Sounds strange, when I was testing my radio app tablet version sound was
working just fine. What exactly are you doing ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Is harbour.jolla.com down?

2016-02-15 Thread Kaj-Michael Lang
On Mon, 2016-02-15 at 05:49 +, Riku wrote:
> Is the harbour.jolla.com currently down? When trying to connect only a
> white page is displayed? It has been such since yesterday evening?

Works normally for me.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Query about tablet USB

2015-11-18 Thread Kaj-Michael Lang
On Wed, 2015-11-18 at 08:35 +0200, Tone Kastlunger wrote:
> Do you plan to do something? If you end up with an rpm, consider
> dropping it on OpenRepos :)

Yes, I try to put everything I do in both Harbour (if possible) and
OpenRepos. But at this time this is just an idea as I'm still waiting
for my tablet to arrive.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Query about tablet USB

2015-11-16 Thread Kaj-Michael Lang
On ma, 2015-11-16 at 10:07 +0200, Philippe De Swert wrote:
> Printers might probably be recognized but the kernel USB printer
> driver 
> is disabled atm I think, so that would have to be added. However
> there 
> are no specific usb printer drivers in the kernel as there are none 
> there. Printers use userspace drivers. You would need to add cups and 

A writable /dev/usb/lp0 is enough for what I have in mind. Could the
usblp module perhaps be added in the future ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Query about tablet USB

2015-11-16 Thread Kaj-Michael Lang
Having an app idea here, but first I need to know, can usb printers be
plugged into the tablet (and does the kernel come with usb printer
driver if yes ?)


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Emulator and multimedia components

2015-09-25 Thread Kaj-Michael Lang
I'm trying to get a basic port available of my radio app for the tablet,
using the tablet emulation mode. The emulator image seems to default to
missing most of gstreamer and qt multimedia packages.

I've done all my previous testing/development on the phone and on there
I could assume that everything needed was installed. And I seem to
remember that I was not supposed to list any such rpm dependencies.

How is it now, do I now need to specify all specific dependencies or
not ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] About applications presenting a map interface

2015-09-16 Thread Kaj-Michael Lang
On ma, 2015-09-14 at 11:12 +0200, Michele Tameni wrote:
> Interesting, I can give it a try and let the other know hopefully by
> the end of the week. 
> Kaj-Michael, any chance to have your sample project to start with? 

I pushed my testing project to
https://github.com/oniongarlic/harbour-are

but I don't even know if it builds at this time as I was going to add
GPS support but never finished it.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] gstreamer rtspsrc issue

2015-09-14 Thread Kaj-Michael Lang
On pe, 2015-09-11 at 17:24 +0300, Mohammed Hassan wrote:
> If you want to be updated on the issue then please file a t.j.c
> post ;-)

here
https://together.jolla.com/question/109672/bug-gstreamer-1x-rtspsrc-does-not-work-properly/


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] About applications presenting a map interface

2015-09-14 Thread Kaj-Michael Lang
On Thu, 2015-09-03 at 08:14 +0300, juice wrote:
> What is approved the method to present a map interface 

I've been playing around with libosmscout, it uses vector data and the
data/rendering can be customized with various style files.

http://onion-garlic.blogspot.fi/2015/02/interactive-piste-map-on-sailfish-os.html

Unfortunately it had some rendering issues (hiding stuff when zoomed in
too close), but this was in February, I haven't done anything with it
since so could be already fixed upstream.


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] gstreamer rtspsrc issue

2015-09-14 Thread Kaj-Michael Lang
On Sun, 2015-09-13 at 23:49 +0300, Mohammed Hassan wrote:
> That won't work then. I thought -based on our previous discussions-
> that you are
> using GStreamer directly.

I'm not as it is not allowed in harbour apps, and I like to have it
available there. Strictly Qt Multimedia only. But I've been hoping for
direct usage as then I could add things like equalizers, visualization,
etc.

> BTW what's your app? Is it in harbour?

It is, Y-Radio. 100% unusable on 1.1.9.28 right now.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] gstreamer rtspsrc issue

2015-09-13 Thread Kaj-Michael Lang
On su, 2015-09-13 at 20:39 +0300, Mohammed Hassan wrote:
> I cannot promise. GStreamer 0.10 is still there in 1.1.9 so you can
> continue using it until the glib bug gets fixed.

How would that work now that Qt Multimedia is built against 1.x ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] gstreamer rtspsrc issue

2015-09-12 Thread Kaj-Michael Lang
On pe, 2015-09-11 at 17:24 +0300, Mohammed Hassan wrote:
> I did some more digging and it is a bug in glib.
> _g_uri_parse_authority() fails to parse the URI but this seems to has
> been fixed already. We are using an old glib and thus we are missing
> those fixes. I will see what can be done regarding that.

Thanks for digging deeper on this. I hope a fix will be included in the
public final release.

> If you want to be updated on the issue then please file a t.j.c
> post ;-)

Sure, I can do that.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] gstreamer rtspsrc issue

2015-09-11 Thread Kaj-Michael Lang
Hi

Upgraded my phone to 1.1.9.28 (upgrade was smoonth) and tried my
softwares, unfortunately something is broken with rtspsrc in gstreamer.

On my desktop with gst 1.4.5 it works ok, but on the device I get a
connection error, and it is not my network, users have reported the same
thing.

Commandline used:
gst-launch-1.0 -t -c -v  playbin
uri=rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883

On desktop, connects and plays ok:
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size
= 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering =
false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =
rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source =
"\(GstRTSPSrc\)\ source"
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
.
etc and the stream plays ok

On device, I get a connection error:
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size
= 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering =
false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =
rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source =
"\(GstRTSPSrc\)\ source"
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_6_64@113883
ERROR: from
element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: 
Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(6868): gst_rtspsrc_retrieve_sdp
(): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

any ideas ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] gst 1.0 in harbour ?

2015-09-11 Thread Kaj-Michael Lang
Hi

Will direct usage of gstreamer be allowed in harbour apps now that Sfos
2.0 comes with gstreamer 1.0 ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Upcoming changes in Jolla Harbour

2015-08-06 Thread Kaj-Michael Lang
On Thu, 2015-08-06 at 06:41 +, Developer Care wrote:
> With the current SDK available, you can build binaries that are
> tablet-compatible (i.e. an i486 architecture), but you do not have a
> way to test them on a tablet size screen as the SDK for our tablet is
> not out yet.

Any ETA on tablet SDK release?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] How to use C Extension with Sailfish

2015-05-25 Thread Kaj-Michael Lang
On su, 2015-05-24 at 23:38 +0200, barrac...@fastmail.com wrote:
> Wouldn't importing already compiled C unauthorized on Harbour?
> Ultimately I'd like to submit my app.

You upload binary packages to harbour so that shouldn't be a problem,
afaik.


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Simple device to device communications

2015-05-14 Thread Kaj-Michael Lang
On to, 2015-05-14 at 19:57 +0300, Jani Nuutinen wrote:
> What might the most crude requirements be when looking into simple
> device to device (/application to application) communications?
> 

Depends a bit, if the devices are on the same network then you could use
for example simple broadcast UDP packets.

But if they need to be able to communicate from different networks then
you probably need a server that they can talk to that passes any
messages to/from them. MQTT could be one way to do it.

Depends very much on what it is exactly you need.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Hardcoded Path

2015-03-12 Thread Kaj-Michael Lang
On to, 2015-03-12 at 14:33 +0100, Antonio Mancini wrote:
> I want to use the  XDG Base Directory Specification but i don't know
> how to use it.

Use should use Qts QStandardPaths to get various locations that you can
use for your files.
See http://doc.qt.digia.com/qt-5.2/qstandardpaths.html for details

$XDG_DATA_HOME refers to an environment variable, you use getenv() to
get the contents of that.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] NMEA

2015-02-23 Thread Kaj-Michael Lang
Does the GPS device provide raw NMEA messages ? If yes, is it available
in some /dev node ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] gstreamer 1.0 souphttpsrc element is missing

2015-02-09 Thread Kaj-Michael Lang
On ma, 2015-02-09 at 17:43 +0200, Mohammed Hassan wrote:
> Please also note that gstreamer has not yet been white listed for
> harbour use.

I know.

> Do you need to submit the app now or is it possible for you to wait 

Yeah, I can wait. Just planned on preparing a branch so it is ready to
go.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] gstreamer 1.0 souphttpsrc element is missing

2015-02-09 Thread Kaj-Michael Lang
I started to prepare my app for gstreamer 1.0 now that it is available
and soon possible to use in harbour apps.

But the souphttpsrc element that I need is missing. First I thought this
a mistake but it seems it was deliberately excluded:

"
- [gstreamer] drop soup support for now
"

why ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] /.../Silica/Page.qml:134: TypeError

2015-02-09 Thread Kaj-Michael Lang
I think I started to get these after the latest update

unknown:134 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:134:
TypeError: Cannot read property of null

Am I doing something wrong and is that something I should worry about ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 11:06 +, Eric Le Roux wrote:
> We plan to deploy a sailfishos dedicated wiki in March timeframe so we
> can
> address the need for such documentation and consolidate some of the
> information that is currently scattered across mer/nemomobile wikis. 

That is good to hear, thank you!

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 10:32 +, "Thomas B. Rücker" wrote:
> You mean like https://wiki.merproject.org/wiki/Sailfish and its
> various
> sub-pages? 

I'm looking more for things like (just examples):
- How to use the camera in a Sailfish app
- How do I create this-and-that kind of UI interface
- How do I use a Wii/PS3 controller in my Sailfish game
- How can I send e-mail from my application using the e-mail app
- How do I implement a social sharing feature into my application
- Storing settings in my app
- Getting GPS information in a harbour approved way
- etc...

See the Nokia developer wiki for what I mean.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote:
> But it's not allowed for harbour applications, unfortunately.

Oh, how am I not surprised by that.. sigh

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
Is there a developer wiki available ?

Something like the Nokia developer wiki, where various how-to-do-that
articles could be created and shared ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
I've added a debug logging option to my app and would like to make it as
easy as possible to send it to me. An easy way would be to be able to
trigger the email application with the log file as an attachment with my
address as recipient, ready to go.

Is that possible ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Sailfishos.org site renewal!

2015-02-05 Thread Kaj-Michael Lang
On la, 2015-01-31 at 12:43 +0100, Timur Kristóf wrote:
> - the old link says 404 and I can't find the same stuff on the new web
> site.

Related, MerSDK VM points to https://sailfishos.org/develop-faq.html for
help, but that does not exist anymore.

Otherwise the nice site look good, but please bring back the
documentation.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Audio stream playback fails after device lock/power save

2015-01-14 Thread Kaj-Michael Lang
On ke, 2015-01-14 at 19:13 +0200, Kaj-Michael Lang wrote:
> after the screen is locked (about 2-3 seconds) and blanked the stream
> start to stutter and after a while the connection is lost.

Interesting. On another WiFi AP the streaming is ok when sleeping.

Playing around with the settings on the problem AP it seems the DTIM
setting (had 2, changed to 1) affects the streaming performance when the
device is in power save mode. I still get short stutters in the playback
but it won't stop.


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Audio stream playback fails after device lock/power save

2015-01-14 Thread Kaj-Michael Lang
On ke, 2015-01-14 at 23:24 +0600, Dmitriy Purgin wrote:
> I'm using SailWave [1] for internet radio streaming and it works just
> fine even with the screen locked.

And you are running the latest OS update ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Audio stream playback fails after device lock/power save

2015-01-14 Thread Kaj-Michael Lang
I've just noticed an issue with streaming playback and power saving. 

My radio streaming app works fine when the device is active, but soon
after the screen is locked (about 2-3 seconds) and blanked the stream
start to stutter and after a while the connection is lost.

If I keep playing around to keep the device active the playback works
fine.

Do I need to do something to tell the device to not go into such a deep
sleep or is this a bug in the power saving ?
IMHO the OS should notice, that ok that app is doing audio playback/have
an active network connection and not go into too deep sleep. 


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] SDK update issues

2015-01-10 Thread Kaj-Michael Lang
Just reporting some issues I had when trying to update the SDK.

I've updated the SDK to 3 computers, on two I got this when the
maintenance tool was updated+restarted:

"Your installation seems to be corrupted. Please consider re-installing
from scratch."

And when doing the update plenty of:
"Error during installation process (org.merproject.mersdk):
Execution failed(Unexpected exit code: 1): "/usr/bin/VBoxManage createvm
--name MerSDK --register --basefolder /home/milang/SailfishOS/mersdk""


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] read/write to contacts and calendar

2014-11-13 Thread Kaj-Michael Lang
On to, 2014-11-13 at 14:14 +0200, Pekka Vuorela wrote:
> Calendar is privileged data and cannot be currently accessed by third
> party applications.

Are there any plans on allowing some kind of access ?

For example talking to the calendar app trough dbus to add an event, the
user would still need to approve it so it wouldn't go behind the users
back.

I would like to add this to one of apps so the user can add program
reminder events to their calendar.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Jolla release plan for high level features - update10

2014-11-06 Thread Kaj-Michael Lang
On Thu, 2014-11-06 at 10:38 +0200, Soumya Bijjal wrote:
> start the work to update to GStreamer 1.x (latest upstream version 
> 1.4.3) 

Great! :) Does that mean gstreamer usage will be allowed in harbour apps
when 1.x is used ? What about plugin(s) only packages, will harbour
allow those ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Call events

2014-10-08 Thread Kaj-Michael Lang
Is there some, official harbour approved, way to get notified about
incoming/outgoing calls start/stop so my app can react to these events ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-28 Thread Kaj-Michael Lang
On ke, 2014-08-27 at 18:03 +0300, Mohammed Hassan wrote:
> Yes, It was an issue with GStreamer/QtMultimedia and it got fixed. I
> can provide
> more details if you wish.
> 
Sure, please do.

> [...]
> > Now with non-sleepy eyes, I found the difference. If the autoLoad
> > property is set to false then it fails.
> 
> I can confirm that as well. I still don't know why it happens though.
> Would setting autoLoad to true be a good enough workaround until the
> issue gets fixed?

yes, it works fine now. I don't really know if that is even needed or
not.



-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-26 Thread Kaj-Michael Lang
On ke, 2014-08-27 at 08:52 +0300, Kaj-Michael Lang wrote:
> Exact same thing in my original app, silence. And I can't find what
> I'm
> doing differently.

Now with non-sleepy eyes, I found the difference. If the autoLoad
property is set to false then it fails. 


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-26 Thread Kaj-Michael Lang
On ke, 2014-08-27 at 00:22 +0300, Mohammed Hassan wrote:
> I did a quick test here and it seems to work (update9 pre release). I
> guess
> we can assume it will work with the final update 9 ;-)

And now I remember my initial issue when I changed to rtsp streams (3
months ago), it was not silence but choppy playback, 1-2 sec sound then
2 sec silence, repeated.

Last update must have fixed that one. And this silence thing is new, and
the strange thing is, I too made a simple test program, and that works.

Exact same thing in my original app, silence. And I can't find what I'm
doing differently. Sigh..

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-26 Thread Kaj-Michael Lang
On Mon, 2014-08-25 at 22:03 +0300, Mohammed Hassan wrote:
> > does not work even if the direct gst-launch works, any ideas why ?
> 
> Could you please share the QML code you are using? 

Nothing special, Audio component with with
rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_4_64@113881 as the
source url.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] A friendly warning to jolla

2014-08-26 Thread Kaj-Michael Lang
On Sun, 2014-08-24 at 22:07 +0800, itviewer wrote:
> The relationship between Hong Kong and the mainland market is similar
> between countries. for example,There are tariffs and other
> conditions. 

Ok, then. I didn't know that it is that complicated.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Pulseaudio muted

2014-08-25 Thread Kaj-Michael Lang

Hi

I'm trying to play stuff using gstreamer and pulsesink and even if I set 
the pulsesink mute property to FALSE the stream stays muted. I know that I 
can get it to play by modifying/adding my binary to xpolicy.conf but that 
is not a solution for harbour submission, so how do I get my app to be 
unmuted from code ?


(I know gstreamer is not allowed in harbour, but I'm going the 
static/private .so route for that tiny issue)


--
Kaj-Michael Lang
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] A friendly warning to jolla

2014-08-24 Thread Kaj-Michael Lang

On Sun, 24 Aug 2014, itviewer wrote:



As a developer who have been waiting for your  for more than one years,  I'm 
losing interest for jolla.
Just a friendly warning to you£ºIf you do not enter the Chinese market in 
September , you will lose the Chinese market this year.

In fact ,I really wanted to say that your attitude toward the Chinese market is 
really a pile of shit .


Did you miss the whole "Jolla released in Hong Kong" thingy ? Perhaps I 
don't see the issues here, HK being part of China afaik ?


http://www.three.com.hk/website/appmanager/three/home?_nfpb=true&pageid=f41011&_pageLabel=P600193131219996753703&lang=eng

--
Kaj-Michael Lang___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-22 Thread Kaj-Michael Lang
On pe, 2014-08-22 at 03:04 +0300, Kaj-Michael Lang wrote:
> This works fine:
> gst-launch-0.10 playbin2
> uri=rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_4_64@113881
> 
> but using that same uri with Audio does not work at all.

Enabling gstreamer debug output (GST_DEBUG=6) shows that the Audio
element does try to play the uri with playbin2 but for some reason it
does not work even if the direct gst-launch works, any ideas why ?


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Qt Multimedia, Audio, HLS and RTSP stream problem

2014-08-21 Thread Kaj-Michael Lang
Hi

I'm trying to get my app (Y-Radio) fixed. The original icecast streams
that YLE provided got shutdown a while back, instead they now provide
HLS and RTSP streams, but none of these work properly on the device. 

At first gstreamer hlsdemux was missing, but seems to have been added in
the latest update, but that does not help me as it is buggy and plays
only the initial playlist contents and won't fetch more segments (same
happens on desktop gstreamer 0.10 hlsdemux, 1.x is ok)

This
gst-launch-0.10 -t -v -m playbin2
uri="http://yleuni-f.akamaihd.net/i/yleliveradiohd_6@113883/master.m3u8?sd=10&rebase=on

plays a couple segments the EOS. Same when played using Audio.

So that leaves me with the rtsp streams, that work with gst-launch &
playbin2 from the CLI just fine, but the issues is that the QML Audio
element does not play the stream. And afaik, that uses Qt Multimedia and
that again uses playbin2 to play, but for some odd reason it won't play.

This works fine:
gst-launch-0.10 playbin2
uri=rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_4_64@113881

but using that same uri with Audio does not work at all.

If I could use gstreamer directly this wouldn't be an issues but as
gstreamer is a nono in harbour...

Right know I have no idea how to fix this, any help is very much
appreciated. 


-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] New Harbour Release with Stats

2014-08-01 Thread Kaj-Michael Lang
On pe, 2014-08-01 at 11:42 +, Developer Care wrote:
> We've made a significant new release of Harbour today:
>  
> * Application statistics have been enabled in the Dashboard

Great, thanks for that!

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] app OrganizationName and harbour

2014-04-05 Thread Kaj-Michael Lang
Hi

Got denied application update as I set my org name properly with
app->setOrganizationName() but that lead to a application update
rejection as then the path given from
QStandardPaths::writableLocation(QStandardPaths::CacheLocation)

is not in the format harbour likes. After much digging and finally
looking into SailfishApp sources it seems that I'm not even supposed to
set the orgname myself, as it sets, unlogicaly, the orgname to appname,
and in my mind that feels a a bit strange.

Anyway, this took a while for me to find out and it is not mentioned in
the harbour FAQ, might be good to add it. 

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread Kaj-Michael Lang
On Thu, 2014-02-27 at 07:46 +, simosk.s...@gmail.com wrote:
> Kaj  Not quite so.  I think 1.0.3.8 Naamankajärvi is the latest!
> 

Now you lost me. Where did *I* say anything about versions ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to debug Julla

2014-02-26 Thread Kaj-Michael Lang
On Thu, 2014-02-27 at 14:41 +0800, Tony wrote:
> My Julla ’s system version is 1.0.0.5. I tried to upgrade the system ,
> but

First of all, it is Jolla

> system mentioned that is the newest version.  Besides , I also tried
> to start using development mode. The system noticed that development
> package install failed. 

Feels a bit like a network connection problem. Does your network
connection work ok otherwise ? Can you browse for example ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Gui and Kernel app

2014-02-26 Thread Kaj-Michael Lang
On Tue, 2014-02-25 at 21:43 +0100, Randolph wrote:
> Not the same question for sailfish, is it here the same? does the RPM
> for kernel and RPM for gui will be able to communicate or is this
> prohibited too? 

For native apps you can use any standard unix/linux IPC method available
to communicate.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Random white screen issue, app has passed QA

2014-01-14 Thread Kaj-Michael Lang
On Tue, 2014-01-14 at 10:34 +0200, Reto Zingg wrote:
> that is not by default on device. Add a dependency to:
> qt5-qtdeclarative-import-xmllistmodel
> 
> that should fix it.
> 
> We need to investigate how that could get pre installed to the device
> of 
> the Harbour testers. 

Ok, thanks for the information. Something I have installed must have
pulled that one in.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Random white screen issue, app has passed QA

2014-01-14 Thread Kaj-Michael Lang
On Tue, 2014-01-14 at 14:24 +0600, Andrey Kozhevnikov wrote:
> seems like you missed some of depends
> 

I realize that.. but how could it have passed QA then ?

And afaik I use nothing that isn't included on the device from the start
and I remember some mail was saying that you shouldn't include deps that
are pre-installed.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


[SailfishDevel] Random white screen issue, app has passed QA

2014-01-14 Thread Kaj-Michael Lang
Got my first app into the Harbour, works for me and obvisouly for QA
too. But about 1/2 of the comments are people complaining that all they
get is a white screen. That most likely is some error in the qml, a
import plugin missing, but how can that be if QA passed it ? Any ideas?

Oh, and the app in question is Y-Radio.

Or better yet, anyone on list that experiences the problem ? Could you
start it from the terminal and send me any error messages that might be
printed ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] What about game development?

2013-12-26 Thread Kaj-Michael Lang
On Thu, 2013-12-26 at 07:00 +, mehmet altıparmak wrote:
> Which game development frameworks does sailfish development
> environment support? Does it support OpenGl? 

SDL 2.0 (for OpenGL ES 1.1 and 2.0) 

Mentioned here, https://sailfishos.org/wiki/Porting/Harmattan with
guides on how to port from SDL 1.2 to 2.0.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Status of Pre-order phones

2013-12-19 Thread Kaj-Michael Lang
Why would there be? UK is inside EU.  Sent from my BlackBerry 10 smartphone. From: Steph GoslingSent: torsdagen den 19:e december 2013 21:44To: Sailfish OS DevelopersReply To: Sailfish OS DevelopersSubject: Re: [SailfishDevel] Status of Pre-order phonesHey Chris,On Thu, 19 Dec 2013 17:10:05 +Chris Walker  wrote: > Is any import duty payable when the phone hits customs? I'm curious> whether customs in the UK will hold up the phone or whether I really> will get it before Christmas - status is shown 'Picking'.No duty or delay for mine to the UK. I should also say that there wasonly about 3 hours between me receiving the tracking email and mephysically having the phone. All happened on the same day.Cheers,Steph-- Steph Gosling ___SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] people having reach to real device?

2013-11-27 Thread Kaj-Michael Lang
Wait an hour or so and there will be plenty :)  Sent from my BlackBerry 10 smartphone. From: Zoltán LutorSent: onsdagen den 27:e november 2013 17:51To: Sailfish OS DevelopersReply To: Sailfish OS DevelopersSubject: [SailfishDevel] people having reach to real device?Hi,Is there anybody out there with real Jolla device and willing to test some apps on real device?I would really appreciate some true testing since apps were rejected from the store but the given reasoning did not helped too much and dev. support does not respond to any of my mails... :-(
Thanks in advance,                                          Zoltan
___
SailfishOS.org Devel mailing list___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SDK and Harbour news

2013-11-26 Thread Kaj-Michael Lang
On Fri, 2013-11-22 at 17:21 +0200, Mohammed Hassan wrote:
> GStreamer is not a supported store API for now. I am sure this will

What does that mean ? I can't submit any apps that use gstreamer to the
Harbour ?

> change soon especially after we transition to GStreamer 1.x (Currently
> all our media stack is using GStreamer 0.10).
> 
> May I ask you what codecs you would like to see? 

I'd like to port over these two 
http://store.ovi.com/content/267364 and
http://store.ovi.com/content/263944

And I'm also working on a gstelement to use the more correct (and
updated) sidfp library for SID playback.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SDK and Harbour news

2013-11-21 Thread Kaj-Michael Lang
On Thu, 2013-11-21 at 12:20 +, Iekku Pylkka wrote:
> Shared libraries
> 
> ·You can ship your own private copies of shared libraries that
> you link against in /usr/share//, you are not
> allowed to install shared libraries anywhere else.

What about possible extension "apps" ? Say gstreamer element/tracker
extractor that extends the system media player to support more
codecs/formats ? (Me hoping that that is possible, as it was on the N900
and N9)

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Updated emulator in SailfishOS SDK available

2013-10-30 Thread Kaj-Michael Lang
On Wed, 2013-10-30 at 12:19 +, Jarko Vihriala wrote:
> Are you updating from 1310 or from older alpha? If you do it from
> older alpha SDK you need to update it all the way. 

I last updated when previous update was announced.. where do I see the
version?
Qt Creator says 2.8.1, built on Oct 21 2013 13:54:38, rev 88f905a914

> Can you please tell what is your development computer as well
> (mac,linux 32bit, linux 64bit or windows) ?

Ubuntu 12.04.3 LTS, 64-bit.

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Updated emulator in SailfishOS SDK available

2013-10-30 Thread Kaj-Michael Lang
On Wed, 2013-10-30 at 10:03 +, Jarko Vihriala wrote:
> 1. click update icon (or run updater from toolbar), sdk maintenance
> tool will open
> 2. sdk maintenance tool should be set up already for the update
> action, click next. 

I'm having problems with the updater, it complains "Could not download
meta information for component: org.merproject.documentation. Error: Bad
hash."

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list


[SailfishDevel] gstreamer version ?

2013-10-08 Thread Kaj-Michael Lang
Hi

It seems gstreamer is still on version 0.10, are there plans to move to
1.0/1.2 ?

-- 
Kaj-Michael Lang 

___
SailfishOS.org Devel mailing list