Re: [SailfishDevel] Versions

2014-07-20 Thread Mikael Hermansson
With all those options given I prefer below one given by Bob. I actually have 
made a AppInfo class for generic stuff like read licensefile/changelog/version 
in the aboupage  long ago. But I used a header file with stupid duplicate of 
VERSION (I hade to manually change both yaml+app). I will for sure change this 
to use below solution in all my apps from now on.

Actually I think below should be added in the sailfishsdk creation app template 
:)


On Sunday, July 20, 2014 14:22:01 Chris Walker wrote:
> On Sun, 20 Jul 2014 14:58:16 +0200
> 
> Bob Jelica  wrote:
> > Hey,
> > 
> > If you have this in your .yaml:
> > 
> > Version: 1.0.0
> > 
> > QMakeOptions:
> > - VERSION='%{version}-%{release}'
> > 
> > Then you can do this in your .pro file:
> > DEFINES += APP_VERSION=\\\"$$VERSION\\\"
> > 
> > That gives you the option to do this in your main.cpp:
> > QScopedPointer view(SailfishApp::createView());
> > view->rootContext()->setContextProperty("APP_VERSION", APP_VERSION);
> > 
> > 
> > And BOOM! now you can use APP_VERSION wherever in your QML
> > (AboutPage.qml for example)
> > 
> > :)
> 
> Ah. I used to do something similar in my N900 version of the app except
> that I used to specify the version in the .pro file. I've never tried
> to incorporate it into the Sailfish version. I'll give your version
> another go now.
> 
> Thanks for that and thanks too to Andrey Kozhevnikov for his ideas.
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

-- 
"Put mankind back on earth"

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


Re: [SailfishDevel] What or how should I do to resolve the problem that installing other apps in my app just like the Warehouse

2014-07-20 Thread Mikael Hermansson
On Saturday, July 19, 2014 16:28:03 itviewer wrote:
> Hi All,
> In the last update (
> https://together.jolla.com/question/50175/release-notes-software-version-10
> 819-tahkalampi/ ) ,
 the RPM side-loading and packagekit authorization is
> changed,as follows. 
>
> 

https://harbour.jolla.com/faq#Miscellaneous

-- 
"Put mankind back on earth"

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


[SailfishDevel] XMLHttpRequest

2014-07-07 Thread Mikael Hermansson
Hi!

I have searched for this question on Qt/QML but can't find any answer so far:

Anyone knows if its possible to turn of ssl verification on https requests when 
using XMLHttpRequest object in QML?




-- 
"Put mankind back on earth"

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


Re: [SailfishDevel] rpminstall signal packageStatusChanged

2014-06-13 Thread Mikael Hermansson
Seems it was a thread issue. my RpmInstall class was constructed in a different 
thread(SailClient) from "mainthread" below lines (parent is main class) fixed 
it: 
(Actually I need to read more about how threads works in Qt kinda confusing...)

moveToThread(parent->thread());
 setParent(parent);


But now I got a bit confused again because I noticed that my phone emited alot 
of 
"status 1" for other packages already installed :S is this correct?

just a short dump(the full log is alot bigger):

..
[D] RpmInstall::onPackageStatusChanged:37 - install (not mine ignored)  
"jolla-email-
all-translations-pack"  status  1 
[D] RpmInstall::onPackageStatusChanged:37 - install (not mine ignored)  
"jolla-email-
settings"  status  1 
[D] RpmInstall::onPackageStatusChanged:37 - install (not mine ignored)  "jolla-
firstsession"  status  1 
.

code:

void RpmInstall::onPackageStatusChanged(const QString &filename, int status)
{
SailHttpServer *server = dynamic_cast (parent());
if (installFilename != filename)
{
qDebug() << "install (not mine ignored) " << filename << " status " << 
status;
return ;
}

qDebug() << "install " << filename << " status " << status;
if (status == 1) // installed
{
if (server && server->property("removeRpmAfterInstall").toBool())
{
QFile file(filename);
file.remove();
}
}
}



On Thursday, June 12, 2014 16:34:44 Kimmo Lindholm wrote:
> does QDBusConnection::sessionBus().lastError().message() give any details on
> error?
> 
> From: devel-boun...@lists.sailfishos.org
> [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Mikael Hermansson
> Sent: Thursday, June 12, 2014 10:25 AM
> To: sailfish-devel
> Subject: [SailfishDevel] rpminstall signal packageStatusChanged
> 
> 
> I want to connect to the signal packageStatusChanged from the harbour FAQ I
> read this:
> 
> 
> 
> signal path=/StoreClient; interface=com.jolla.jollastore;
> member=packageStatusChanged
> 
> string "filename.rpm"
> 
> int32 0 (not installed?), 1 (installed?) and 2 (progressing?)
> 
> 
> 
> But I have problem getting the receive the signal from jollastore in my app
> I connect to the store using QDBus API :
> 
> 
> 
> result = QDBusConnection::sessionBus().connect("com.jolla.jollastore",
> "/StoreClient", "com.jolla.jollastore" ,"packageStatusChanged", this,
> SLOT(onPackageStatusChanged(QString,int)));
> 
> 
> 
> qDebug() << "DBUSconnect== " << result;
> 
> 
> 
> 
> 
> However the signal seems not connect since it returns:
> 
> 
> 
> [D] RpmInstall::RpmInstall:19 - DBUSconnect== false
> 
> 
> 
> 
> 
> the signal is not emited... Any idea what I do wrong?
> 
> 
> 
> 
> 
> Regards
> 
> 
> 
> Mikael
> 
> 
> 
> 
> 
> --
> 
> "Put mankind back on earth"

-- 
"Put mankind back on earth"

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

[SailfishDevel] rpminstall signal packageStatusChanged

2014-06-12 Thread Mikael Hermansson
I want to connect to the signal packageStatusChanged from the harbour FAQ I 
read 
this:

signal path=/StoreClient; interface=com.jolla.jollastore; 
member=packageStatusChanged
  string "filename.rpm"
  int32 0 (not installed?), 1 (installed?) and 2 (progressing?)

But I have problem getting the receive the signal from jollastore in my app I 
connect 
to the store using QDBus API :

 result = QDBusConnection::sessionBus().connect("com.jolla.jollastore", 
"/StoreClient", "com.jolla.jollastore" ,"packageStatusChanged", this, 
SLOT(onPackageStatusChanged(QString,int)));

qDebug() << "DBUSconnect== " << result;


However the signal seems not connect since it returns:

[D] RpmInstall::RpmInstall:19 - DBUSconnect==  false 


the signal is not emited... Any  idea what I do wrong?


Regards

Mikael


-- 
"Put mankind back on earth"

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

Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum

2014-05-24 Thread Mikael Hermansson
On Saturday, May 24, 2014 12:56:01 christopher.l...@thurweb.ch wrote:
> Ignore my last - I absentmindedly clicked "Send" before writing the content!
> 
> My suggestion is that rather than splitting into multiple mailing
> lists, which does not really cure anything, you replace the mailing
> lists with a forum. I agree it would be crazy to have both.
> 
> Martin points out that I could simulate the same with rules and
> filters: but that is post-fact, so if somebody starts spamming the
> list from different threads and sock-puppets, then I need to
> continually add new rules / filters. I prefer to spend my free time
> programming Sailfish apps, not rules in my mail client!
> 
> While there is talk.maemo.org, that serves a different role: it is an
> independent forum (as opposed to one owned by Jolla); and the Sailfish
> part has not divided into more focused sub-forums yet.
> 
> Chris
> 

Agree with all especially about TMO...

-- 
I am a computer Open Source geek:

Professional experience and intrests in Qt/QML, C++, C, Python, GIT, Linux on 
embedded.


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

Re: [SailfishDevel] Discrimination and abuse from Jolla employee Thomas Perl

2014-05-20 Thread Mikael Hermansson
Sorry but you are out of line now. Your gave your point in your first post but 
keep 
repeating in this mailinglist is pointless!

The mailinglist is for development. I am personally not intrested reading 
flamewar in here! Now if you want to continue do it elsewhere like TMO or 
similar

/

mike7b4


On Tuesday, May 20, 2014 20:43:24 Filip Kłębczyk wrote:
> W dniu 20.05.2014 20:30, Tone Kastlunger pisze:
> > IMHO,
> > and with all respect,
> > personally I am not interested in cutthorat and dagger, but rather
> > interested in development issues.
> 
> Feel free to not read this thread. It's your choice what you read or not.
> 
> Regards,
> Filip
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

-- 
I am a computer Open Source geek:

Professional experience and intrests in Qt/QML, C++, C, Python, GIT, Linux on 
embedded.

Phone: +46738784840

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

Re: [SailfishDevel] Is support for commercial apps a TABOO subject?

2014-04-24 Thread Mikael Hermansson
I think it would be very wrong strategy to "avoid" payment apps. But there 
probadly is more important stuff in the pipe from Jolla side to fix before 
implement payment.

For example more libs should be allowed.

But about payment how to avoid pirate copying? Would Jolla be responsible if 
your work is pirated since SailfishOS has no copy protection because of its 
nature of "open platform". Would endusers stop use Jolla if they start 
implement copyprotection or similar silly solutions?

I personally dislike install any app that is not open sourced or "copy 
protected" or even SPAM applications... It is just plain wrong. But I still 
willing pay for good open apps. But there must be simple way for payment.

But it's probadly very hard setup generic payment solution since so many 
different options how to pay. I personally dislike paypal but some may prefer 
that. Most of us dislike pay with Cards. And some wants bitcoins and so on.

Not a simple task. A better solution would be to just add some way to pay the 
direcly to develop and then the developer decide what he prefer for payment 
options. 




On Thursday, April 24, 2014 09:33:22 tw_bolek wrote:
> On April 4 Duncan Waugh wrote:
> 
> " [...] support commercial applications. Is there any news on when this is
> planned for integration?"
> 
> No answer.
> 
> On April 17 Marcin M. wrote:
> 
> "Is there any estimated time when paid apps will be allowed to Harbour?"
> 
> No answer.
> 
> There are also a number of such topics on together.jolla com (and some of
> them very popular, within the top 30-40 most voted for topics) requesting
> any information about plans to introduce support for paid applications in
> the Jolla store.
> 
> None of them ever replied or commented on by anyone from Jolla.
> 
> 
> So my question is: is this some kind of taboo subject, or something of as
> little importance that for over 4 months now no Jollan has said A WORD
> about it despite numerous requests?
> 
> A couple of my friends already gave up after waiting so long for even just
> any information, and I must say that I'm slowly losing hope, too.  We all
> understand and are aware of the enormous job Jolla has been doing, so we're
> asking for just INFORMATION about the progress, even just if AT ALL there
> are any plans to do it in a foreseeable future, and if so then knowing even
> just as little as if it will take a month or half a year would be all we
> need...
> 
> Bolek
> ___
> SailfishOS.org Devel mailing list

-- 
I am Software engineer and Open Source geek:

Professional experience in Qt/QML, C++, C, Python, GIT, Linux on embedded.

Twitter: http://www.twitter.com/mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread Mikael Hermansson
btw. vbox and kubuntu/sailfishos is on 64bit.

On Friday, April 18, 2014 21:11:58 Mikael Hermansson wrote:
> My host is running on LenovoX230 with 3rd gen Intel Core and
> Intel GFX 4000 and no nested VBox, just core kubuntu 14.04 
host.
> 
> On Friday, April 18, 2014 14:17:14 Juha Kallioinen wrote:
> > On 18.04.2014 03:09, Juha Kallioinen wrote:
> > > Hi, I installed ubuntu 14.04 (not KDE) to my Mac vmware
> 
> Fusion and the
> 
> > > SDK into that - I'm seeing the same problem here now.
> > > 
> > > What's your host machine and how do you run the SDK in it?
> 
> I'm just
> 
> > > trying to collect more info to figure out what's common in
> 
> our systems.
> 
> > > If I set all the environment variables correctly (from
> > > /var/lib/eviconment/compositor/*.conf) and run lipstick 
from
> 
> nemo's
> 
> > > console it crashes to a SIGILL in the end.
> > 
> > Seems that this is caused by unsupported CPU capability 
(AVX)
> 
> leaking
> 
> > into VirtualBox in some machines. At least that's my case. 
The
> > mesa-llvmpipe  packages need patching and that's in the
> 
> pipeline now. I
> 
> > hope we can get a new patched Emulator out there some time
> 
> next week
> 
> > already, but since today and Monday are public holidays in
> 
> Finland,
> 
> > there can be delays.
> > 
> > Mikael, I would be interested to hear the specs of your
> 
> machine where
> 
> > you have this problem. And do you happen to run the SDK in
> 
> another
> 
> > virtual machine by any chance?
> > 
> > Best regards,
> > 
> >   Juha
> > 
> > ___
> > SailfishOS.org Devel mailing list

-- 
I am Software engineer and Open Source geek:

Professional experience in Qt/QML, C++, C, Python, GIT, Linux on 
embedded.

Twitter: http://www.twitter.com/mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-18 Thread Mikael Hermansson
My host is running on LenovoX230 with 3rd gen Intel Core and 
Intel GFX 4000 and no nested VBox, just core kubuntu 14.04 host.


On Friday, April 18, 2014 14:17:14 Juha Kallioinen wrote:
> On 18.04.2014 03:09, Juha Kallioinen wrote:
> > Hi, I installed ubuntu 14.04 (not KDE) to my Mac vmware 
Fusion and the
> > SDK into that - I'm seeing the same problem here now.
> > 
> > What's your host machine and how do you run the SDK in it? 
I'm just
> > trying to collect more info to figure out what's common in 
our systems.
> > 
> > If I set all the environment variables correctly (from
> > /var/lib/eviconment/compositor/*.conf) and run lipstick from 
nemo's
> > console it crashes to a SIGILL in the end.
> 
> Seems that this is caused by unsupported CPU capability (AVX) 
leaking
> into VirtualBox in some machines. At least that's my case. The
> mesa-llvmpipe  packages need patching and that's in the 
pipeline now. I
> hope we can get a new patched Emulator out there some time 
next week
> already, but since today and Monday are public holidays in 
Finland,
> there can be delays.
> 
> Mikael, I would be interested to hear the specs of your 
machine where
> you have this problem. And do you happen to run the SDK in 
another
> virtual machine by any chance?
> 
> Best regards,
>   Juha
> 
> ___
> SailfishOS.org Devel mailing list

-- 
I am Software engineer and Open Source geek:

Professional experience in Qt/QML, C++, C, Python, GIT, Linux on 
embedded.

Twitter: http://www.twitter.com/mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-17 Thread Mikael Hermansson
Reinstall from scratch did not solve the issue.

I guess kubuntu 14.04 have to be blacklisted for now since emulator don't work 
:/

Let me know if someone else got similar issues. 

Btw. the "touchpointer" is shown.


On Thursday, April 17, 2014 10:11:11 Juha Kallioinen wrote:
> On 16.04.2014 23:01, Mikael Hermansson wrote:
> > I don't know if this is related to just kubuntu or just a VMissue since
> > the
> > sailfishemulator does not work. I just get the kernel message but
> > sailfishUI does not start. More exactly lipstick does not start. I can
> > login via ssh and try start lipstick but only get:
> > 
> > [C] unknown:0 - Failed to create display (Connection refused)
> > 
> > also Vbox eating cpu since fan goes wild.
> 
> That sounds like something that went wrong in update/install phase, but
> I've never seen this problem myself. I'm afraid you will need to try
> uninstall/reinstall from scratch.
> 
> Best regards,
>   Juha
> 
> ___
> SailfishOS.org Devel mailing list

-- 
I am Software engineer and Open Source geek:


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SailfishOS SDK April update available tomorrow. [update:all installers and repositories are online]

2014-04-16 Thread Mikael Hermansson
I don't know if this is related to just kubuntu or just a VMissue since the 
sailfishemulator does not work. I just get the kernel message but sailfishUI 
does not start. More exactly lipstick does not start. I can login via ssh and 
try start lipstick but only get:

[C] unknown:0 - Failed to create display (Connection refused)

also Vbox eating cpu since fan goes wild.



On Wednesday, April 16, 2014 15:45:34 Jarko Vihriala wrote:
> Did you run fresh installation or updated ?
> If you did fresh install can you check the MD5SUM of that installer file?
> Current MD5 sums are online at:
> https://sailfishos.org/wiki/FileInformation_SDK_1404
> 
> thanks, Jarko
> 
> 
> 
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of blood9ra...@gmail.com
> [blood9ra...@gmail.com] Sent: Wednesday, April 16, 2014 6:37 PM
> To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] SailfishOS SDK April update available tomorrow.
> [update:all installers and repositories are online]
> 
> I installed it on KDE Archlinux and i did not found any issues?
> Should i reinstall?
> 
> On Wed Apr 16 2014 17:03:48 GMT+0200 (CEST), Jarko Vihriala wrote:
> > Update: We fixed the issue and after testing also KDE based Linux distros
> > show green light. Go ahead and head to https://www.sailfishos.org/ and
> > update or install SailfishOS SDK 1404.
> > 
> > For Linux users who managed to install/update their setup, it's
> > recommended to reinstall the 1404 SDK to make sure everything is working
> > ok.
> > 
> > We apologize this inconvenience and thank you for your understanding,
> > the Jolla SDK Team
> > 
> > 
> > From: devel-boun...@lists.sailfishos.org
> > [devel-boun...@lists.sailfishos.org] on behalf of Jarko Vihriala
> > [jarko.vihri...@jolla.com] Sent: Wednesday, April 16, 2014 2:21 PM
> > To: Sailfish OS Developers
> > Subject: Re: [SailfishDevel] SailfishOS SDK April update available
> > tomorrow.
> > 
> > Hello all,
> > 
> > We just discovered a serious issue related to using SDK with KDE based
> > Linux distros such as Fedora or KUbuntu. Therefore we have removed the
> > Linux installers from the SailfishOS website. Please do not try to
> > download Linux installers or update your SailfishOS SDK if you are using
> > KDE Linux distro.
> > 
> > We are now working to get the KDE issue solved, please stay tuned. We will
> > inform when SDK updates are again available.
> > 
> > thanks, Jarko
> > 
> > 
> > 
> > 
> > From: Jarko Vihriala
> > Sent: Tuesday, April 15, 2014 9:36 PM
> > To: Sailfish OS Developers
> > Subject: SailfishOS SDK April update available tomorrow.
> > 
> > Hello again,
> > 
> > Tomorrow (16 April) at 10:00 UTC we will publish new installers, and
> > package repositories for our Sailfish OS SDK version Alpha-1404-Qt5.
> > Please note that links in this email are updated at that time as well.
> > 
> > We apologise for the long delay between the SDK updates. We had to
> > completely recreate our SDK production environment before being able to
> > release an update. This took longer than expected and is the main reason
> > for the delay.
> > 
> > If you already have an existing Alpha-Qt5 SDK installed you should see the
> > Updates Available icon in Qt Creator. If you don't have a previous SDK
> > installation you can get the latest installer from
> > http://www.sailfishos.org. It is recommended to uninstall the old SDK and
> > download a new installer.
> > 
> > SDK content has been updated to match Jolla Release 1.0.5.16. Please see
> > below for detailed information of the changed items.
> > 
> > A couple of things you should be aware of:
> > - Like before, in this update the build engine, emulator and targets are
> > re-installed so you will lose all changes you may have made in those -
> > however, if your application packaging is done correctly, rebuilding your
> > projects should reinstall the packages you have been using. - All
> > customization done to SDK (adding new package repositories, adding 
custom
> > targets, additional source paths) will be removed during the installation
> > process so make your own backup of those before starting the update. - If
> > you import existing projects made with a previous version of the Sailfish
> > OS SDK, make sure you select the correct kit in the project configuration
> > step. Both ARM and i486 kits are available. - Windows users need to
> > install VC10 runtime from
> > http://www.microsoft.com/en-us/download/confirmation.aspx?id=8328 or 
the
> > Installer will ask for admin rights during installation. - Package
> > repository contents have been updated and consequently using a previous
> > SDK version with these package repositories is not supported. - For more
> > information, please see the SDK Alpha-Qt5 known issues list at:
> > https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues. - Oldest Mac OS X
> > support

Re: [SailfishDevel] maces sdk issue

2014-04-16 Thread Mikael Hermansson
Same for me running kubuntu nor solution so far I tried add the VM manually 
afterward since they exist in

intslldir/ 

emulator/sailfishemu,vdk and mersdk/mersdk.vdk

But that seems not work or I have to tweak alot so I will probadly reinstall 
from scratch tomorrow... :/


On Wednesday, April 16, 2014 18:52:19 Nicola De Filippo wrote:
> Hi,
> updating the sdk on MacOS i have 2 issue:
> 
> 1) when the maintenance tool execute /usr/bin/VBoxManage createvm --
name
> MerSDK --register --basefolder /Users/nicola/SailfishOS/mersdk and i
> resolved removing MerSDK.vbox and pressing retry in the dialog
> 
> 2)  when the maintenance tool execute /usr/bin/VBoxManage createvm --
name
> SailfishOS Emulator --register --basefolder
> /Users/nicola/SailfishOS/emulator and i resolved removing Emulator.vbox and
> pressing retry in the dialog
> 


-- 
I am Software engineer and Open Source geek:

Professional experience in Qt/QML, C++, C, Python, GIT, Linux on embedded.

Twitter: http://www.twitter.com/mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Commercial app status/roadmap

2014-04-04 Thread Mikael Hermansson
I just started a thread on jolla2gether about the issue...

 
https://together.jolla.com/question/37727/what-about-replace-harbour-with-bodega-store-solution/

On Friday 04 April 2014 14.53.36 Duncan Waugh wrote:
> Hi all, I can't seem to find any commercial applications on the on device
> store and there doesn't seem to be anything set up in Harbour to support
> commercial applications.
> 
> Is there any news on when this is planned for integration?
> 
> Thanks

-- 
This was posted on a  Lenovo Thinkpad X230 running Kubuntu desktop.

I am Software engineer/Open Source geek:

Experience in Qt/QML, C++, C, Python, GIT, Linux on embedded.

Twitter: @mikecomputing
Linkedin: http://www.linkedin.com/pub/mikael-hermansson/30/95b/204
Diaspora: https://diasp.eu/u/mike7b4
Phone: +46732546542
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SMS for m2m communication

2014-03-29 Thread Mikael Hermansson
Now I repeat what already said. OpenRepos will not be safe if everything is 
allowed. Endusers will be confused and don't understand what they install and 
in the long run break they'r phone and in best case they can reflash factory 
image.

But thats not something regular users are intrested to do. Not even me as a 
geek/developer.

For example if X app installs python intepretor. Where are python installed on 
device? /usr/bin? if thats the case what happens if Jolla decide later to 
install python as default? Maybe this example is stupid. Maybe this is not an 
issue but what about other thirdparty  libs and versions? 

Thing is I don't beleive you about not breaking because X package manager is 
better than Y. I have seen dependies/breaking issues on every dist I have used 
latest 10 years and NO one can always solve everything and I often have to 
tweak in terminal to fix issues both on OpenSuse and kubuntu. Most the time it 
breaks when do dist-upgrades. Now that will be even worse on a mobile device 
if everything is allowed. 

I definitivly agree that harbour should allow more libs but I still beleive 
openrepos is to "open"

Now I stop my discussion on this thread because it seems lead nowhere and I 
don'̈́t want to flood the mailinglist by repeating my opinion on this.

Kindly regards

Mikael

On Saturday 29 March 2014 23.57.26 kaa wrote:
> Mikael .. I was understand .. debian's apt-like solvers are not good as
> zypper. You not know all good possibilities .. :)
> 
> Kaacz
> 
> Dne 29.3.2014 18:03, k...@iol.cz napsal(a):
> > Mikael, know you things: opensource, git, OBS service .. ??? With
> > those things, openrepos wil be nice and safe place for users with
> > brain. More safe then closed app in Harbour.
> > 
> > I like ideas as Maemo4-extras repo - only one way to this repo exist:
> > automatic build from opensource "git" place. I know "this binary is
> > builded from exact this sources".
> > 
> > 
> > Last words: exist more open and more safe solutions then Harbour only. :)
> > 
> > 
> > PS: problem "upgrade vs openrepos" packages is easy. High level apps
> > (GUI) are not possible to break OS by simply "install". Unofficial
> > libraries or OS tools: yes (problem with bash in last update). But:
> > when OS reposes are wrong defined (without priorities), in this case
> > is easy to destroy OS by any 3party package. I have openSUSE with
> > zypper 5 years on few PC. With good priority setting isn't possible to
> > break OS with worst priority unsupported packages. :)
> > 
> > 
> > PPS: excuse me for ugly english..
> > 
> > 
> > Radek "Kaacz" K.
> > 
> > --
> > 
> > Sent from Nokia N9 :)
> > 
> > 
> > Dne 29.03.2014 12:22 napsal uz(ivatel Mikael Hermansson:
> > 
> > On Monday 24 March 2014 21.26.31 k...@iol.cz <mailto:k...@iol.cz> wrote:
> > > Sad. Apps type as SuperSMS or PhoneAssistant (as on N9) not possible on
> > > Harbour. Good save openrepos. :) OK. My attention is more focussed to
> > > openrepos than harbour .. :)
> > 
> > Hmm, your signature is kinda ironic ;) One of the reason harbour does not
> > allow SMS is to be safe from risk for developers not misuse or by
> > mistake send
> > SMS:ses without user knows it or viruses, malware etc?
> > 
> > Now you prefer unsafe operrepos thats allows everything. And we
> > already knows
> > people got problems with they'r phone when upgrade to latest version
> > and some
> > (not all) reasons are because of apps in openrepos.
> > 
> > I dont say openrepos is bad BUT restrictions is needed for reasons.
> > Openrepos
> > is a playground for testers and developers which can be great. But NOT
> > something I recommend for endusers software.
> > 
> > As stated here already I think there need to use an more controlled extra
> > repos at merproject where developers can upload apps that later easy
> > can be
> > pushed to harbour. And harbour- suffix should not be allowed on
> > openrepos IMHO.
> > 
> > Point is developers should still support harbour as number one and
> > instead
> > push ideas how to implement X/Y/Z without risk for malware/viruses etc...
> > I do not beleive openrepos is the solution.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ___
> > SailfishOS.org Devel mailing list

-- 
Sent from my Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SMS for m2m communication

2014-03-29 Thread Mikael Hermansson
On Monday 24 March 2014 21.26.31 k...@iol.cz wrote:
> Sad. Apps type as SuperSMS or PhoneAssistant (as on N9) not possible on
> Harbour. Good save openrepos. :) OK. My attention is more focussed to
> openrepos  than harbour .. :)


Hmm, your signature is kinda ironic ;) One of the reason harbour does not 
allow SMS is to be safe from risk for developers not misuse or by mistake send 
SMS:ses without user knows it or  viruses, malware etc?

Now you prefer unsafe operrepos thats allows everything. And we already knows 
people got problems with they'r phone when upgrade to latest version and some 
(not all) reasons are because of apps in openrepos.

I dont say openrepos is bad BUT restrictions is needed for reasons.  Openrepos 
is a playground for testers and developers which can be great. But NOT 
something I recommend for endusers software.

 As stated here already I think there need to use an more controlled extra 
repos at merproject where developers can upload apps that later easy can be 
pushed to harbour. And harbour- suffix should not be allowed on openrepos IMHO.

Point is developers should still support harbour as number one and instead 
push ideas how to implement X/Y/Z without risk for malware/viruses etc... 
 I do not beleive openrepos is the solution.



-- 
Sent from my Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No QSerialPort

2014-03-27 Thread Mikael Hermansson
Actually support for QtSerialPort could be valid on non Jolla devices. For 
example 
if we get sailfishos going on BeagleBoard Black? or Android devices with USB 
OTG 
support...

But I can understand if Jolla does not prioritize this right now, but it should 
atleast 
be available as "extra repo" or in mer-core or something?

Regards

Mikael

On Tuesday 25 March 2014 09.09.15 Jonni Rainisto wrote:
> Hi,
> 
> I hope that you are aware that USB OTG is not supported, so you cannot
> attach USB serial devices to Jolla? Or are you building yourself a custom
> TOH with USB host support and plan to use i2c serial ports? In that case
> you can just compile QtSerialPort code yourself (I've tested that it
> compiles just fine inside the SDK) and bundle that inside your application.
> You might want to consider BT devices and using RFCOMM over that as that
> would be much simpler approach.
> 
> br, Jonni
> 
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of wsvries
> [wsvr...@xs4all.nl] Sent: Tuesday, March 25, 2014 10:46 AM
> To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] No QSerialPort
> 
> Thanks,
> 
> Alejandro Exojo schreef op 2014-03-24 21:53:
> > El Sunday 23 March 2014, Wim de Vries escribió:
> >> So, it should be available in Sailfish.
> > 
> > No, is available inside Qt, not necessarily provided for Sailfish.
> 
> I thought Sailfish would include all modules of Qt
> 
> >> Have to recheck the errors, but it looked like the libs and headers
> >> were
> >> not there (QtSerialPort/QtSerialPort no such file).
> > 
> > I already told you that you might consider copying the module to your
> > application and bundle it. Or see if Qt Serial port is packaged for
> > mer, and
> > ask for inclusion (or package if is not). Any Qt addon is a safe bet
> > since qt-
> > project has some serious commitment to ABI/API stability.
> 
> I did this on the notebook Qt<5.1 versions of my app. (even a
> boost-serial version before QSerial)
> But doing this with Sailfish is far more complex:
> it has to be available on the Mer VM and the Sailfish VM (and later
> Sailfish device).
> I am not experienced with VMs. The nice thing about using Qt is not
> having to worry about the implementation (and updates) of the modules.
> (The Sailfish (Target) manager is also not able to find the serialport
> module).
> I need all the time for porting to Sailfish, esp. C++GUI2Qml  ;-(
> So, support for this module is a must for my app.
> 
> > Or just explain what serial port you want to use and for what reason,
> > so
> > Sailors see the need to do the work themselves... and satisfy my
> > curiosity.
> > ;-)
> 
> aircraft navigation+more app:
> USB/serial device1:
> -external GPS
> USB/serial device2:
> -air press sensor (altitude)
> -humidity sensor
> -temp sensor
> No rocket science, works flawless on ubuntu notebook.
> 
> r
> wim
> ___
> SailfishOS.org Devel mailing list
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] uinput with maliit at sailfishapps

2014-02-25 Thread Mikael Hermansson
Notice this is also what happens in emulator when using real keyboard there.

Seems not all keys are mapped correcly in wayland "input driver" or 
something...


On Monday 24 February 2014 22.36.07 Kimmo Lindholm wrote:
> I know... we are in progress with that too... they were really busy getting
> the 1.0 out... so our request didn't get so high priority. So we needed to
> hack something together for MWC, all works for the demo, except this "shift
> ?"
> 
> vkb  view is controllable from hwkb side, to show some specials or locals
> like ÅÄÖ and predictive + clipboard. (TBD)
> 
> -kimmo
> 
> From: devel-boun...@lists.sailfishos.org
> [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Andrey Kozhevnikov
> 
> 
> I can suggest you to ask Jolla to implement system hwkb input method to
> disable vkb to appear, and fix android input. Thats 9000% better than
> hacking :) On 25.02.2014 03:43, Kimmo Lindholm wrote:
> Or something like that
> (Running this on Jolla (1.0.3.8) and it is related to the qwerty toh
> keyboard)
> 
> I use uinput to send key events (EV_KEY) - these works ok,
> but when I send e.g. KEY_LEFTSHIFT or KEY_CAPSLOCK, a ? character appears as
> "prefix" to the actual character.
> 
> e.g. sending KEY_A --> a
> sending KEY_LEFTSHIFT and then KEY_A --> ?A
> 
> That is on sailfish apps, but when I do same thing in fingerterminal, the ?
> char does not appear and all works fine. On android apps nothing works.
> 
> If someone feels that this is a bug (as I do) please could someone point me
> to correct direction reporting it out.
> 
> Regards,
> Kimmo
> 
> 
> 
> 
> 
> ___
> 
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Puzzling application rejection...

2014-02-18 Thread Mikael Hermansson
I am not sure if IRC shall be seen as an "official channel".

But some developers and helpful people are  at freenode.net channels like 
#sailfishos and #jollamobile



On Tuesday 18 February 2014 17.44.14 Zoltán Lutor wrote:
> Hi,
> 
> What is the desired channel to contact reviewer if developer do not
> understand/do not agree with reason behind rejection? It is really
> uncomfortable there is no two way communication channel built into Harbour.
> Writing to "developer-c...@jolla.com" does not do the trick either...
> 
> Br,
> 
> Zoltan
> 
> https://www.facebook.com/ForFictionMobile
> 
> 2014-02-18 14:44 GMT+01:00 Developer Care :
> > Ahoy,
> > 
> > This was a human error and we have called the rejection back from our
> > Harbour QA system. Sorry for all the trouble.
> > 
> > Br,
> > Jolla crew
> > 
> > > -Original Message-
> > > From: devel-boun...@lists.sailfishos.org [mailto:devel-
> > > boun...@lists.sailfishos.org] On Behalf Of Andrey Kozhevnikov
> > > Sent: 18. helmikuuta 2014 15:34
> > > To: devel@lists.sailfishos.org
> > > Subject: Re: [SailfishDevel] Puzzling application rejection...
> > > 
> > > I see QA not testing applications, reading application name and
> > 
> > description
> > 
> > > and pushing random buttons :D
> > > 
> > > On 18.02.2014 19:28, Jonni Rainisto wrote:
> > > > Maybe QA tester has misread RPM vs. RPN :-)
> > > > 
> > > > From: devel-boun...@lists.sailfishos.org
> > > > [devel-boun...@lists.sailfishos.org] on behalf of Luciano Montanaro
> > > > [mikel...@gmail.com]
> > > > Sent: Tuesday, February 18, 2014 3:23 PM
> > > > To: devel@lists.sailfishos.org
> > > > Subject: [SailfishDevel] Puzzling application rejection...
> > > > 
> > > > Hi everybody, since I cannot find a way to ask for details in the
> > > > harbour, I will try asking for help here:
> > > > 
> > > > I submitted my updated "Quanto Fa" RPN calculator, and this the
> > > > 
> > > > motivation of the rejection:
> > > >> We have to reject your application because it's using the PackageKit
> > > >> D-Bus API > to install (sideload) RPM packages. See
> > > 
> > > https://harbour.jolla.com/faq#7.2.0 and >
> > > https://harbour.jolla.com/faq#6.7.0, we currently do not allow that.
> > 
> > Please
> > 
> > > remove > that functionality for the time being. It's also mentioned that
> > 
> > very
> > 
> > > soon we will allow RPM sideloading, please keep an eye on the FAQs and
> > 
> > the
> > 
> > > release notes > of Sailfish OS upgrades, when you can enable that
> > > feature
> > > again.
> > > 
> > > > Now I am puzzled, because I am doing nothing of that sort. The app is
> > > > almost entirely QML/JavaScript.
> > > > 
> > > > The only problem I could imagine with it is that I use QtFeedback to
> > > > make the keys click... but I am conditionally loading the QML object,
> > > > and fallback gracefully if the functionality is unavailable. The
> > > > validator did not complain.
> > > > 
> > > > But if that is the problem, the above comment is very misleading.
> > > > 
> > > > Best regards,
> > > > Luciano
> > > > 
> > > > 
> > > > --
> > > > 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
> > > > ___
> > > > SailfishOS.org Devel mailing list
> > > 
> > > ___
> > > SailfishOS.org Devel mailing list
> > 
> > ___
> > SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Harbour reject because of too high power consumption

2014-02-18 Thread Mikael Hermansson
if you mean tinybrowser maybe but not sure tiny is needed anymore since we now 
have portrait in sailfish-browser and its open. Only reason I wrote tiny was 
missing 
portrait.. So I see that project as dead now.

But I would say geecko engine from sailfish-browser would be great in 
jolla2gether client app. Without know how much work it is to make that happen.

Its up to the new maintainer to decide ;)

On Wednesday 19 February 2014 01.17.52 Andrey Kozhevnikov wrote:
> Isn't better to fork jolla browser? :)
> 
> On 19.02.2014 01:16, Mikael Hermansson wrote:
> > when I did upload the tinywebbrowser(before I started on
> > unnoficialtogetherapp) it was cause of webkit eating to much CPU when
> > app is minimized.
> > 
> > Wasn't this what they said for u too?
> > 
> > AFAIK there is no soluton for it except pop webkit page when app
> > minimized.
> > 
> > maybe in future better use Gecko plugin instead of webkit when store
> > allows that engine?
> > 
> > Regards
> > 
> > Mike7b4
> > 
> > On Tuesday 18 February 2014 20.54.16 Samuli Silvius wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > I got app rejected with a message:
> > > 
> > > 
> > > 
> > > "sorry for rejecting your application, but there is too high power
> > > 
> > > consumption, if there is some Question/Question list open. If
> > 
> > application
> > 
> > > is in main menu, power consumption is ok.
> > 
> > > You can check power consumption by yourself, plase take a look here:
> > https://together.jolla.com/question/13243/my-app-got-rejected-to-store-bec
> > au> 
> > > se-of-high-power-consumption-how-to-debug-problems/ "
> > > 
> > > 
> > > 
> > > First of all,it would be nice to have possibility to answer/ask in the
> > > 
> > > harbour itself, or what is the correct channel? This email list?
> > > 
> > > 
> > > 
> > > The app (https://github.com/tace/jolla2gether) is pure
> > 
> > qml/javascript, so
> > 
> > > what could be power consuming part there, any hints?
> > > 
> > > 
> > > 
> > > I tried to measure it with powertop tool but did not get any alarming
> > > 
> > > results. Or then I don't know how to use the powertop. I used with
> > 
> > command:
> > > *% powertop --html=powertop_report.html --time=120*
> > > 
> > > 3 times. Before app was open and 2 times with app open in different
> > 
> > views.
> > 
> > > What values I should follow? At least max "Wakeups/s" I got was 5.0.
> > > 
> > > 
> > > 
> > > Br
> > > 
> > > -Samuli
> > 
> > Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
> > 
> > 
> > 
> > ___
> > SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Harbour reject because of too high power consumption

2014-02-18 Thread Mikael Hermansson
when I did upload the tinywebbrowser(before I started on unnoficialtogetherapp) 
it was cause of webkit eating to much CPU when app is minimized.

Wasn't this what they said for u too?

AFAIK there is no soluton for it except pop webkit page when app minimized.

maybe in future  better use Gecko plugin instead of webkit when store allows 
that 
engine?

Regards

Mike7b4


On Tuesday 18 February 2014 20.54.16 Samuli Silvius wrote:
> Hi,
> 
> I got app rejected with a message:
> 
> "sorry for rejecting your application, but there is too high power
> consumption, if there is some Question/Question list open. If application
> is in main menu, power consumption is ok.
> You can check power consumption by yourself, plase take a look here:
> https://together.jolla.com/question/13243/my-app-got-rejected-to-store-becau
> se-of-high-power-consumption-how-to-debug-problems/ "
> 
> First of all,it would be nice to have possibility to answer/ask in the
> harbour itself, or what is the correct channel? This email list?
> 
> The app (https://github.com/tace/jolla2gether) is pure qml/javascript, so
> what could be power consuming part there, any hints?
> 
> I tried to measure it with powertop tool but did not get any alarming
> results. Or then I don't know how to use the powertop. I used with command:
>   *% powertop --html=powertop_report.html --time=120*
> 3 times. Before app was open and 2 times with app open in different views.
> What values I should follow? At least max "Wakeups/s" I got was 5.0.
> 
> Br
> -Samuli

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Mikael Hermansson
On Tuesday 11 February 2014 21.15.48 Dietmar Schwertberger wrote:
> Am 11.02.2014 20:14, schrieb Marcin M.:
> > But they could make the UI usable on mobile phones, as it's done in
> > Fremantle. I can send you a screenshot with the app themed and not themed.
> 

You better ask yourself this:

 1. If endusers have to download from thirdparty "warehouse" that provides 
QtWidgets+XWayland less users will use you app.
2. I doubt QtWidgets apps will be userfriendly  and probadly not integrate 
well with sailfishUI and slow since already stated QtWidget is not accelerated 
on embedded platforms.
3. And why not learn QML(for the UI) when  linux desktop OS:es will use QML 
more frequently lately? for example ubuntu unity and KDEFramework5? That way 
you still can use QtWidgets on windows until QML2 ported to windows8.

Its new times get over it think fresh think new ;)

Just IMHO... 

Regards

Mikael

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No provider of 'Mer-Qt4-development' found.

2014-01-19 Thread Mikael Hermansson
On Sunday 19 January 2014 11.08.06 Simon Bolek wrote:
> Because X11 Embedding QWidgets is not available in Qt5 I'am still
> developing with Qt 4.8.

AFAIK Qt4.8 is not supporting Wayland and SailfishOS is using wayland so you 
probadly should forget about Qt4... Offtopic but also most Linux desktops 
moving to qt5 2014... 



> However when trying to install Qt4 into MerSDK this appeared:
> 
> Operation Progress
> * finished: installing package
> Mer-Qt4-development - exited with status 0*
> 
> Loading repository data...
> Reading installed packages...
> 'Mer-Qt4-development' not found in package names. Trying capabilities.
> Synchronising target to host
> cannot delete non-empty directory: usr/bin
> Sync completed
> No provider of 'Mer-Qt4-development' found.
> 
> Is this not available anymore or not yet?
> 
> br
> simon:-)

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
To clarify... What I meant is app *itself* need no root. ofcourse  user still 
need to 
pass root password to libssh to execute commands...

On Sunday 12 January 2014 14.11.55 Mikael Hermansson wrote:
> On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote:
> > So what would be the proper way of creating such app? Can someone from
> > Jolla - Thomas or anyone there who feels competent in this area suggest
> > the proper way of handling such use case. That could really help to
> > mitigate some of the problems that non-tech users approach every day and
> > make their overall experience with Jolla phone better.
> > 
> > Regards,
> > Filip
> 
> Reminds me about what I read yesterday libssh is actually a solution for
> above problem. The used only had to enable developermode so that sshd is
> installed.
> 
> Then your app (who also install libssh library) just login via libssh
> locally on the jolla and execute commands. Kind of a backdoor because that
> way your app itself does not need root but in the same time you have full
> access doing everything in runtime...
> :S
> 
> more info here:
> 
> http://www.libssh.org/2014/01/08/libssh-0-6-0/
> 
> > ___
> > SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote:
> 
> So what would be the proper way of creating such app? Can someone from
> Jolla - Thomas or anyone there who feels competent in this area suggest
> the proper way of handling such use case. That could really help to
> mitigate some of the problems that non-tech users approach every day and
> make their overall experience with Jolla phone better.
> 
> Regards,
> Filip
> 

Reminds me about what I read yesterday libssh is actually a solution for above 
problem. The used only had to enable developermode so that sshd is installed.

Then your app (who also install libssh library) just login via libssh locally 
on the jolla 
and execute commands. Kind of a backdoor because that way your app itself does 
not need root but in the same time you have full access doing everything in 
runtime... 
:S

more info here:

http://www.libssh.org/2014/01/08/libssh-0-6-0/










> 
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Questions about not yet allowed APIs

2014-01-12 Thread Mikael Hermansson
On Sunday 12 January 2014 09.11.38 Filip Kłębczyk wrote:
> W dniu 12.01.2014 05:43, Timur Kristóf pisze:
> > Hi,
> > 
> > I'd like to ask about status & ETA about the following QML imports, ie.
> > what's their current status (stability, maturity, etc) and when are we
> > going to be able to use them in the harbour.
> > 
> > import Qt.labs.settings 1.0
> > import QtGraphicalEffects 1.0
> > import QtFeedback 5.0
> > import QtDocGallery 5.0
> > import org.nemomobile.ngf 1.0
> > import org.nemomobile.notifications 1.0
> > 
> > It seems to me that there's a LOT of functionality which is not
> > available without these APIs and this is a serious impairment to harbour
> > apps. That's why I'm interested.
> 
> There is much more that could should be allowed ...
> 

I agree but above is atleast a begining. Current situation is really not good 
for anyone. 
Just look at the comments at Harbour store. More and more people comment about 
"why is android allowed/we need more native apps". I really hope Jolla does not 
use 
resources in Android QA process when this instead should be used for QA 
native Or 
atleast *very short* time android support...

Because if more and more developers instead start use openrepos it may harm in 
long 
run. There are reason to use openrepos ofcourse too, atleast for geeks/testers 
but not 
sure end users or as "main". Because AFAIK openrepos has no checking what apps 
is 
doing and may in the long run "break" Jolla phone?

 I am almost sure mosts dists has better control whats allowed than openrepos 
has? 
Ofcourse openrepos has a community that will alarm as soon some try doing some 
harm but still if everyone start use openrepos as the "main" I think we get 
troubles in 
the longer run...

One reason is: when we upgrade our Jollas some not before allowed libs 
installed by 
thirdparty may conflict with what new "Jolla firmware" installs. I maybe wrong 
here 
maybe package manager is intelligent and fix every issue ;) but I doubt...

Anyway, lets hope more libs is allowed soon. I guess its no point flood this 
mailinglist 
again when we all know the situation is not simple and they probadly working on 
it... 
so I stop now... ;)


Regards,

Mikael




> Regards,
> Filip
> 
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Zypper and PackageKit

2014-01-04 Thread Mikael Hermansson
On Saturday 04 January 2014 20.07.52 Martin Grimme wrote:
> Hi,
> 
> 2014/1/4, Andrey Kozhevnikov :
> > afaik pakckagekit have easy queue management
> 
> Yes, PackageKit can queue transactions, and it can be operated without
> root privileges (which zypper would require). Sailfish/Nemo uses
> zypper's libzypp as backend for PackageKit, however.
> AFAIK zypper doesn't come preinstalled on Sailfish, but can be installed.

One reason for packagekit is is to make "platform independent" package manager 
pkcon working both for RPM, DEB maybe more

its a freedesktop project see:

http://www.packagekit.org/index.html




-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Using mailing lists on the Jolla

2014-01-04 Thread Mikael Hermansson
On Saturday 04 January 2014 14.34.19 Timur Kristóf wrote:
> Hi,
> 
> I know - I reported it. :)
> Just wanted to ask the opinion of people on this mailing list.
> 


seen it go vote people :) I think replyall issue should be fixed ASAP. However 
as some already stated. Bugreports about jolla apps should go to 
together.jolla.com so we don't flood this mailinglist :) IMHO

Oftopic... Not sure about where SDK/Silica bugreports should be reported?

/

Mikael



> 
> 
> Timur
> 
> On Sat, Jan 4, 2014 at 2:31 PM, Oskari Tulonen  wrote:
> > Hi,
> > 
> > This is already reported on together.jolla.com, as you can see here:
> > https://together.jolla.com/question/1087/bug-email-app-> > 
> > cant-reply-to-mailing-list-messages-properly/
> > 
> > ~Oskari
> > 
> > On 01/04/2014 03:18 PM, Timur Kristóf wrote:
> >> Hi everyone,
> >> 
> >> Since I read many mailing lists, I often want to reply to them while I'm
> >> on-the-go, but sadly, it seems that you can't really do this on the
> >> Jolla. I've found multiple bugs that basically render it extremely
> >> inconvenient (or sometimes even impossible) to reply to mailing list
> >> messages with the Jolla email app.
> >> 
> >> I'm actually not sure if anyone in Jolla ever tried to use a mailing
> >> list with the device, otherwise their QA would've found these bugs very
> >> easily.
> >> 
> >> - When you hit "Reply" on a mailing list email, the "To" field of the
> >> reply is the sender of the email, not the mailing list address.
> >> - There is no "Reply All" on a mailing list email, only if it has
> >> multiple recipients.
> >> - Even if "Reply All" is there and you choose that, the mailing list
> >> address is still not included in either "To" or "CC".
> >> - When you get a message from a contact (contact = someone in your
> >> People app), you can't edit the "To" field of the reply; meaning if you
> >> got a message from someone on a mailing list who also happens to be in
> >> your contact list, you can't even manually add the mailing list address
> >> to the reply.
> >> 
> >> Has anyone else also encountered these bugs?
> >> Can someone from Jolla confirm that there're people working on fixing
> >> them?
> >> 
> >> Thanks,
> >> Timur
> >> 
> >> 
> >> 
> >> ___
> >> SailfishOS.org Devel mailing list
> >> 
> >>  ___
> > 
> > SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


[SailfishDevel] SailfishSDK: bugs ( probadly known)

2014-01-04 Thread Mikael Hermansson
Some of problem I have seen with the SDK when working with under christmas/new 
year:

Can't decide if this should  be split and posted on together.jolla.com? Or is 
together only used for device related stuff?

QtCreator: "mer/emulator not started" 

* when click yes. It would be nice if it actually build/run when started 
instead of click again on build/start.

Emulator: "Lipstick crashing"

* lipstick randomly get "black screen of dead".  seems related to screensaver 
activates?  restart lipstick doing"pkill lipstick" fixes the issue but 
annoying.

Emulator: "app start twice"

* Apps starts more than ones in the emulator when click run. This should be 
avoided IMHO.

MerBuild machine:

* One or two times I had accidently start compiler twice  in qtcreator.  make 
mer eating cpu in VM (have to restart vm).


Btw. old bug that seems gone:

The already reported problem with kubuntu and "sometimes" no pointer in 
emulator seems has dissapeared? Maybe was fixed in latest SDK can't remember 
when this was seen last on my system. 


Regards

Mikael

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] API/Silica Module for Contacts

2014-01-03 Thread Mikael Hermansson
'

On Friday 03 January 2014 12.26.38 Gabriel Böhme wrote:
> But is it an allowed import? In another thread, it was also mentioned that
> the examples would not pass the harbour qa.
> 

Nope using Haptics module is not supported yet, I had to disable it in my 
app...


-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


[SailfishDevel] Harbour: Rejections clarify

2014-01-02 Thread Mikael Hermansson
It really is kinda frustrated whats allowed and not. Don't get me wrong but I 
hope 
more Qt stuff is allowed ASAP(like QtBlutooth module and QtSystem, NFC and 
some kind of crypto library) 

Now URadio is not allowed anymore and the only change was localstorage is used 
in new version? Rejected because I had dependies on:

ERROR [gst-plugins-good] Dependency not allowed ERROR 
[qt5-qtdeclarative-import-localstorageplugin] Dependency not allowed ERROR 
[qt5-qtmultimedia] Dependency not allowed ERROR 
[qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer] Dependency not allowed

now I can understand that gst-plugins-good was rejected because its not on the 
list but the others? (Notice gst*  was okey first version...) actually I think 
that lib is 
on the phone but not in emulator...

But It seems to me Required field in yaml file should *not be used* is that the 
case? Please clarify this?

and what about line:

sailfishsilica-qt5 >= 0.10.9 (not sure if I added this or if autoadded?)

now should this still be left in the reuquires? Because I remember first time I 
installed it on my phone(s) both n9(with sail) and  my Jolla cried about 
missing  
"libsailfishapp.so"?

Don't get me wrong I know people working hard get this working just kinda 
frustrated atm.

Kindly regards

Mikael


-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

[SailfishDevel] pageStack.navigate[Forward/Back] not working?

2014-01-01 Thread Mikael Hermansson
In my code I have an attached page I want to jump to when user select it in a 
menu:

Code that creates the attached page its a timer trigger 50 msec after FirstPage 
has been rendered because it seems Component.onCompleted cant be used to 
attach page:

Timer{
id:/timer1/
running: true
interval: 50
repeat: false
onTriggered: pageStack.pushAttached(/Qt/.resolvedUrl("SelectUrl.qml"));
}

The attached page is Okey and I can navigate to it via swipe but not via menu 
using 
navigateBack() (also tried navigateForward() no error message shown but "goto 
url page" is printed...

Pulleymenu code:

MenuItem {
text: /qsTr/("Goto...")
onClicked:  { /console/.log("goto url page"); 
pageStack.navigateBack() /* 
<= this does not trigger? and no error message? */ }
}

Is this a known issue in Silica and/or some kind of workaround? 



-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SailfishOS SDK in /opt

2014-01-01 Thread Mikael Hermansson
That should work, I have it in opt and have no problem.

Looks more like you have an issue with you project file?

check the compile output/message screen if you get qmake errors or similar?

also try build->clean all.


On Wednesday 01 January 2014 11.12.58 Marcin M. wrote:
> Hi,
> 
> I've installed the SDK into /opt, but I'm unable to launch the emulator nor
> the SDK VM - only the buttons are grayed out. Is there a known workaround,
> so that I can avoid reinstalling into /home/$USER/ ?
> 
> thanks
> --
> Marcin

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No consistency across screens

2013-12-30 Thread Mikael Hermansson
whoops your are right.

On Monday 30 December 2013 20.14.22 Chris Walker wrote:
> On Mon, 30 Dec 2013 18:20:17 +0100
> 
> Mikael Hermansson  wrote:
> > On Monday 30 December 2013 15.35.39 Graham Cobb wrote:
> > > I need that information all the time -- a **lot** more
> > > often than I actually interact with the phone.
> >  
> >  In every app you can just  shortly "swipe left less than half of
> > 
> > screen" http://www.youtube.com/watch?v=p9YGtW274GI and you will see
> > the clock, 3g level and wifi level and then just release and you back
> > in current application. So I dont see any reason this must be visible
> > all the time when its so easy check it that way.
> > 
> > And if your phone is idle just double tap and it shows all that
> > information for you.
> 
> Really? It doesn't here. If I double tap from a black screen, all I see
> is the ship, a time and a WLAN symbol. I have to scroll a little to
> see battery and 2G/3G availability.
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No consistency across screens

2013-12-30 Thread Mikael Hermansson
What you seems ask for is "don't turn off screen when /idle/ but make sure it 
show 
battrerystate/phone etc.."? eg in *homeview and lockscreen* that I could agree 
but not in applications its just would lock wrong in sailfishos IMHO.

Regards

Mikael

On Monday 30 December 2013 18.07.03 Graham Cobb wrote:
> On 30/12/13 17:20, Mikael Hermansson wrote:
> > On Monday 30 December 2013 15.35.39 Graham Cobb wrote:
> >> I need that information all the time -- a **lot** more
> >> often than I actually interact with the phone.
> > 
> > In every app you can just shortly "swipe left less than half of screen"
> 
> It doesn't work when on the home screen.  So, you have to look at the
> screen, work out which page it is on and then take some special action
> dependent on that page.
> 
> > http://www.youtube.com/watch?v=p9YGtW274GI and you will see the clock,
> > 3g level and wifi level and then just release and you back in current
> > application. So I dont see any reason this must be visible all the time
> > when its so easy check it that way.
> 
> My phone sits on my desk, near my normal line of sight, and I glance at
> it frequently. I don't move my hands off the keyboard to touch it -- I
> am not even consciously doing the task of "checking my phone".
> 
> I also often glance at it while on a non-handsfree call which has become
> a longer call than I expected -- while talking and listening I can
> quickly move the phone into view, check it isn't about to run down on me
> and return it to my ear without the other person noticing.
> 
> There are three key pieces of information which must be available at a
> glance: is there signal?, how is the battery?, have there been any
> missed calls?
> 
> Note: I spend a lot of time on conference calls of an hour or so,
> usually using a desk phone -- I often do not remember whether I missed
> any calls on my mobile while I was on a conference call.  Nor do I
> always remember to check when the call finishes (often rushing to get a
> glass of water or go to the toilet before the next call starts).  So,
> having all three things visible whenever my eyes stray from my screen to
> my phone is very important.
> 
> > Seriously, just because everyone copycats each other in that area it
> > doesn't mean it can be done different.
> 
> Indeed. But just because a UI feature looks nice doesn't mean it is
> necessarily practical.
> 
> I am not a UX person, but I strongly suspect the Jolla team need to do
> more user testing, with more varied types of users, in this area.
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] No consistency across screens

2013-12-30 Thread Mikael Hermansson
On Monday 30 December 2013 15.35.39 Graham Cobb wrote:


> I need that information all the time -- a **lot** more
> often than I actually interact with the phone.

 In every app you can just  shortly "swipe left less than half of screen"  
http://www.youtube.com/watch?v=p9YGtW274GI and you will see the clock, 3g 
level and wifi level and then just release and you back in current application. 
So I 
dont see any reason this must be visible all the time when its so easy check it 
that 
way.

And if your phone is idle just double tap and it shows all that information for 
you.

> There is a reason every other phone has them visible at all times.

Yeah, and there is a reason everyone use windows to... ;)

Seriously, just because everyone copycats each other in that area it doesn't 
mean 
it can be done different.

I think above is just something have to get used to in short run it may confuse 
user 
because of old habits :) But when get used its as good as the alternatives. I 
really 
hope they don't change that.

Anyway there are areas that need to be improved in the UI so :)

Regards

Mikael



-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to handle app settings?

2013-12-29 Thread Mikael Hermansson
On Sunday 29 December 2013 10.08.04 Franck Routier wrote:
> 
> LocalStorage:
> (+) available in qml out of the box, more standard (HTML5 ??), more
> powerful (sql)
> (-) not directly human readable / editable, security concerns (all
> tables available to all qml apps ??)
> 

The localestorage file is saved per app in 
~/.local/share/APPNAME/QML/OfflineStorage/Databases/UNIQUE_ID_OR_SIMILAR.
db 

QSettings also stored ~/.local/share/appname/something...
 
So both QSettings and LocaleStorage can be readable by other apps with some 
hacks. So non is better on security concern. Or wait maybe SQL is bit better 
because 
its not readable from text editor atleast ;)

But I agree SQL  is bit annoying to work with.

Would be nice with higher levcel api for insert/delete/update...




-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Harbour: Allow more libraries to link against

2013-12-28 Thread Mikael Hermansson
I agree on atleast libcrypto support should be in the core OS. Don't know about 
qmf 
and its stability etc...

But I have requested for libcrypto before and some say libcrypto is still not 
API/ABI 
stable, so could be a reason to not include it in the core and instead static 
link it in 
our apps. But that leads to problem when linking this with yet another 
thirdparty like 
your case :-/

But when talk about encryption. I just found out that openpgp commandline tools 
is 
not there anymore not even in the repository :( I remember this was in the 
repository 
in emulator before but now gone?

PGP is something I think should be in sailfishos and installed from beginning?

 As commandline tool and possible to execute pgp tools from any application 
that 
want to use it... PGP support in mail app is one of the reason to include it 
from start ;)

I don't want to be to much offtopic but summary is: 

There should be a discussion on the crypto package that should be in the 
harbour 
and the unit in general.

I know that some of these encryption methods are not allowed certain countries 
and 
so on ...

Regards

Mikael


On Friday 27 December 2013 17.48.55 Ruediger Gad wrote:
> Hi,
> 
> two of my apps (MeePasswords and Q To-Do) are being rejected because
> they are linked against libraries that are not "allowed".
> 
> I read the according FAQ at https://harbour.jolla.com/faq and understand
> your motivation for being so restrictive.
> However, I'd love to add these apps to Harbour and I think that the libs
> as well as their API are pretty much stable and should be suited for
> addition to the whitelist of allowed libs.
> 
> The relevant libraries are:
> - libqmfclient5.so.1
> - libssl.so.10
> - libcrypto.so.10
> 
> It would be great if these could be added to the allowed libraries to
> link against.
> 
> Some explanation what I use these libs for:
> libqmfclient5.so.1:
>   Both of my apps offer a synchronization feature that uses IMAP for
> synchronising files between different devices.
>   For this, I use the IMAP/e-mail API as provided by QMF.
> libssl.so.10
> libcrypto.so.10
>   MeePasswords uses cryptography to encrypt data.
>   For this it uses qca-qt5 which links against said libs.
>   I know that there is qca-qt5 already in nemo:devel:mw (I actually
> filed the PR to enable packaging of the qt5 version) but it is not
> supported for Harbour apps yet.
>   I also requested the addition of qca-qt5 to the allowed libs some time
> ago.
>   As work-around I ship qca-qt5 with my app and thus need to link
> against said libs in the meantime.
> 
> I hope this is the right channel to address this request to.
> If not, please redirect me in the appropriate direction.
> 
> 
> 
> Thanks and best regards,
> 
> Ruediger

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Mikael Hermansson
Its not my opinion it's a fact why should a new platform depend on deprecated 
libs or 
language versions when we know it very soon will disappear even from upstream 
projects? And dists?

Its only leads to maintanance hell. And when it disappear developers and 
endusers 
gets angry because apps not work.

AFAIK Jolla don't recommend python2 even if it still exists in MeR or the repos 
it may 
very well dissapear sooner or later.

So if you really want PyQT you better depend on python3 because that IS the 
future.

Also think about the endusers, I know very well that its fun to play with every 
libs and 
possible combination but still can't hold every possible combination and 
endusers 
are probadly not intrested to install to many thirdparty repositorys just to 
get one 
application work. Right now it already seems to be an issues with all those 
thirdparty 
dropbox links releases latest days...


Regards

Mikael

On Thursday 26 December 2013 20.15.19 Jens Persson wrote:
> Well, that's your opinion. But today it's Python2 that is default in
> Sailfish and not three and that's why I built PyQt with two. Afaik all
> Python modules currently available as default (dev mode enabled) are built
> with Python2.
> 
> Greets Jens
> 
> On Thu, Dec 26, 2013 at 8:03 PM, Mikael Hermansson  wrote:
> > AFAIK python is NOT installed from scratch in sf. also if  python will be
> > supported it will be python3 as thomas already has said.
> > 
> > Thats the way to go. Python 2 should be seen as deprecated on new
> > platforms IMHO...
> > 
> > Regards
> > 
> > Mikael
> > 
> > Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson:
> > >PyQt works very well on the Jolla phone and you can get it from
> > >Openrepos.
> > >It should support the whole Qt C++ API except for deprecated modules. As
> > >Sailfish is using Python2 by default I've built it with that. Porting
> > >from
> > >Pyside to PyQt is very easy and takes only "a few hours" for a small app
> > >and you can publish them on Openrepos as Harbour does not support PyQt
> > >and
> > >maybe never will. Just remember that PyQt is GPLv3 so you must use that
> > >license or pay for a commercial license from Riverbankcomputing. IMHO
> > >this
> > >is not a big problem as most Python apps are opensource and you better
> > >stick with native code for closed source anyway.
> > >
> > >Greets Jens
> > >
> > >On Sun, Dec 1, 2013 at 3:27 PM, Ye Zetao  wrote:
> > >> Hello,I am a developer of python and I know that Sailfish support Qt
> > 
> > with
> > 
> > >> C++, but I am not familiar with C++,So I want to know that if Sailfish
> > >> support PyQt5 ? Thanks :)
> > >> 
> > >> ___
> > >> SailfishOS.org Devel mailing list
> > 
> > --
> > Skickat från min Jolla
> > ___
> > SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

[SailfishDevel] [SPAM] Re: Does Sailfish support PyQt5?

2013-12-26 Thread Mikael Hermansson
AFAIK python is NOT installed from scratch in sf. also if  python will be 
supported it will be python3 as thomas already has said.

Thats the way to go. Python 2 should be seen as deprecated on new platforms 
IMHO...

Regards

Mikael

Thu Dec 26 2013 19:00:35 GMT+0100 (CET) skrev Jens Persson:
>PyQt works very well on the Jolla phone and you can get it from Openrepos.
>It should support the whole Qt C++ API except for deprecated modules. As
>Sailfish is using Python2 by default I've built it with that. Porting from
>Pyside to PyQt is very easy and takes only "a few hours" for a small app
>and you can publish them on Openrepos as Harbour does not support PyQt and
>maybe never will. Just remember that PyQt is GPLv3 so you must use that
>license or pay for a commercial license from Riverbankcomputing. IMHO this
>is not a big problem as most Python apps are opensource and you better
>stick with native code for closed source anyway.
>
>Greets Jens
>
>
>On Sun, Dec 1, 2013 at 3:27 PM, Ye Zetao  wrote:
>
>> Hello,I am a developer of python and I know that Sailfish support Qt with
>> C++, but I am not familiar with C++,So I want to know that if Sailfish
>> support PyQt5 ? Thanks :)
>>
>> ___
>> SailfishOS.org Devel mailing list
>>

-- 
Skickat från min Jolla
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] configure mail accounts via command line

2013-12-25 Thread Mikael Hermansson
Maybe push2sail can can be handy for lonmg passwords ;)

http://talk.maemo.org/showthread.php?t=92132&highlight=push2sail


On Wednesday 25 December 2013 20.40.01 Andrey Kozhevnikov wrote:
> pasting from clipboard to onscreen keyboard not working? sadly then.
> 
> On 25.12.2013 20:31, Sven Putze wrote:
> > Because this way I could paste in my passwords. They tend to be long and
> > cryptic (32-64 chars). On screen keyboard does not work here, I tried.
> > And I tried hard! Only results in "I want to throw that thing against the
> > next wall". And I've waited too long to get my Jolla for such a folly ;-)
> > 
> > BR.
> > Sven
> > 
> > P.S.: And I am not changing my passwords :-)
> > 
> > On 25.12.2013, at 15:26, Andrey Kozhevnikov  wrote:
> >> and explain please why cli?
> >> 
> >> On 25.12.2013 20:25, Sven Putze wrote:
> >>> On 25.12.2013, at 15:07, Andrey Kozhevnikov  
wrote:
>  imap4/password and smtp/password not working?
> >>> 
> >>> Nope.
> >>> 
> >>> And somehow I am glad that it does not work because you can read the
> >>> values with ag-tool list-settings  and the passwords would show up.
> >>> If I look at
> >>> 
http://talk.maemo.org/showthread.php?s=7878e61440c86b678dce7c74c510cf73&;
> >>> t=92122&page=3 and especially at
> >>> http://tinypic.com/view.php?pic=r0t4b5&s=5#.Urre__3gNFw
> >>> 
> >>> there must be some magic with credentials that have an id.
> >>> 
> >>> BR.
> >>> Sven
> >>> 
> >>> ___
> >>> SailfishOS.org Devel mailing list
> >> 
> >> ___
> >> SailfishOS.org Devel mailing list
> > 
> > ___
> > SailfishOS.org Devel mailing list
> 
> ___
> SailfishOS.org Devel mailing list

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Seems there is no point use the connect signal in normal case? Because the app 
shall close 
correct without those.

However in my case it was related to that Cover.qml file had errors that made 
the app 
mainloop not shutdown correcly.

But my other application STILL don't want to shutdown correcly. I have some QML 
errors so 
still confused what is wrong...



On Sunday 22 December 2013 17.45.53 Mikael Hermansson wrote:
> Changed to:
>  QObject::connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));
> 
> still it does not leave mainloop
> 
> On Sunday 22 December 2013 21.36.47 Andrey Kozhevnikov wrote:
> > use lastWindowClosed signal instead of destroyed
> > and
> > int retval = app->exec();
> > delete x;
> > delete y;
> > return retval;
> > 
> > On 22.12.2013 21:22, Mikael Hermansson wrote:
> > > Cant figure out what I am doing wrong but it  seems mainloop does not
> > > shutdown when using QQuickView like below.
> > > 
> > > And I can't figure out what signal I should conect to? Or more exact
> > > what
> > > signal is sent from sailfish when app is closed?
> > > 
> > > AFAIK SailfishApp is just a subclass of QQuickView but there is no
> > > public
> > > API what signals it implements/overrides?
> > > 
> > > [code]
> > > 
> > >QGuiApplication *app = SailfishApp::application(argc, argv);
> > >
> > >  UDPManager *udp = new UDPManager();
> > >  QQuickView *view = SailfishApp::createView();
> > > 
> > > /* FIXME: THIS DOES NOT WORK */
> > > 
> > >  QObject::connect(view, SIGNAL(destroyed()), view,
> > >  SLOT(QGuiApplication::quit()));
> > >  
> > >  view->rootContext()->setContextProperty("version",
> > >  QString(VERSION));
> > >  view->rootContext()->setContextProperty("udp", udp);
> > >  view->setSource(QString("/usr/share/harbour-push2sail/qml/push2sail
> > >  .q
> > >  ml"));
> > >  view->showFullScreen();
> > >  app->exec();
> > >  delete app;
> > >  delete udp;
> > > 
> > > [/code]
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ___
> > > SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Changed to:
 QObject::connect(app, SIGNAL(lastWindowClosed()), app, SLOT(quit()));

still it does not leave mainloop


On Sunday 22 December 2013 21.36.47 Andrey Kozhevnikov wrote:
> use lastWindowClosed signal instead of destroyed
> and
> int retval = app->exec();
> delete x;
> delete y;
> return retval;
> 
> On 22.12.2013 21:22, Mikael Hermansson wrote:
> > Cant figure out what I am doing wrong but it  seems mainloop does not
> > shutdown when using QQuickView like below.
> > 
> > And I can't figure out what signal I should conect to? Or more exact what
> > signal is sent from sailfish when app is closed?
> > 
> > AFAIK SailfishApp is just a subclass of QQuickView but there is no public
> > API what signals it implements/overrides?
> > 
> > [code]
> > 
> >QGuiApplication *app = SailfishApp::application(argc, argv);
> >
> >  UDPManager *udp = new UDPManager();
> >  QQuickView *view = SailfishApp::createView();
> > 
> > /* FIXME: THIS DOES NOT WORK */
> > 
> >  QObject::connect(view, SIGNAL(destroyed()), view,
> >  SLOT(QGuiApplication::quit()));
> >  
> >  view->rootContext()->setContextProperty("version", QString(VERSION));
> >  view->rootContext()->setContextProperty("udp", udp);
> >  view->setSource(QString("/usr/share/harbour-push2sail/qml/push2sail.q
> >  ml"));
> >  view->showFullScreen();
> >  app->exec();
> >  delete app;
> >  delete udp;
> > 
> > [/code]
> > 
> > 
> > 
> > 
> > 
> > ___
> > SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[SailfishDevel] Mainloop problem

2013-12-22 Thread Mikael Hermansson
Cant figure out what I am doing wrong but it  seems mainloop does not shutdown 
when 
using QQuickView like below.

And I can't figure out what signal I should conect to? Or more exact what 
signal is sent from 
sailfish when app is closed?

AFAIK SailfishApp is just a subclass of QQuickView but there is no public API 
what signals it 
implements/overrides?

[code]
  QGuiApplication *app = SailfishApp::application(argc, argv);
UDPManager *udp = new UDPManager();
QQuickView *view = SailfishApp::createView();


   /* FIXME: THIS DOES NOT WORK */
QObject::connect(view, SIGNAL(destroyed()), view, 
SLOT(QGuiApplication::quit())); 

view->rootContext()->setContextProperty("version", QString(VERSION));
view->rootContext()->setContextProperty("udp", udp);
view->setSource(QString("/usr/share/harbour-push2sail/qml/push2sail.qml"));
view->showFullScreen();
app->exec();
delete app;
delete udp;
[/code]


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Emulator: Mouse pointer not visible

2013-12-08 Thread Mikael Hermansson
I have also seen this issue randomly on my kubuntu box.

The solution for me is to restart sailfish emulator when it happens.

I got the feeling that it has to do with how Vbox mouse has focus inside VM 
when  
booting the sailfishos? I noticed that if you accidently click inside the 
emulator when 
sf is booting the mousepointer will not appear when UI has started. I have 
tested this 
now 10 times or so if the mouse pointer is not inside when boot it always 
success. But 
if mouse pointer inside area and click when kernel has started print it 
messages, it 
often fails.

Seems like kernel gets that event and hijack the sailfish mousehandling or 
something?


Regards

Mikael



On Sunday 08 December 2013 19.29.13 Jarko Vihriala wrote:
> Well we have seen on-site one setup like this where user had manually
> modified VBox settings and thus causing mouse to non-work.
> 
> However, let's try to solve this first of all
> a)what it the distro ?
> b)do you have started the VBox kernel drivers on host?
> c)have you tested other VBox machines
> d)does dmesg / syslog / journalcrtl reveal any errors?
> 
> thanks, Jarko
> 
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of Uwe Koch
> [as...@yahoo.com] Sent: Sunday, December 08, 2013 10:38 AM
> To: devel@lists.sailfishos.org
> Subject: [SailfishDevel] Emulator: Mouse pointer not visible
> 
> Hi,
> 
> quite disappointing for me - can't catch the mouse inside the Sailfish SDK
> emulator. Nothing to see - so no clicking and dragging ;-(
> 
> Installed latest Virtualbox environment - both in KDE and Linux Mint.
> Any help how to see where the problem is?
> 
> Can't find anything in virtualbox forums - so ask here if anyone has same
> problem!
> 
> Best regards,
> Uwe
> 
> __  _-_
> \|).---'---`---.
> 
> ||\._./
> ||
> || / ,'   `---'
> 
> ___||_,--'  -._
> /___  ||(-
> `---._-'
> ___
> SailfishOS.org Devel mailing list
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[SailfishDevel] Harbour should allow libcrypt/openssl

2013-12-07 Thread Mikael Hermansson
I think harbour store should allow libcrypt/openssl because AFAIK that 
API will not change very often and is probadly already used in sailfishos?

I guess there is some apps that want to use AES/MD5/SHA256 and so 
on. Passwordwallet apps and similar

Regards

Mikael



___
SailfishOS.org Devel mailing list

[SailfishDevel] Qt5.2/NFC API in sailfishos

2013-11-30 Thread Mikael Hermansson
I just saw that Digia will soon release Qt5.2. I guess jPhone will have this 
upgraded later on?

But what got me dissapointed was that the new Qt NFC API module is only 
supported on Blackberry?

So what is the state of NFC API on sailfishos? Will it use it? or is there some 
kind of NFC API?

I very intrested to know about this because I plan to port my harmattan 
NFCKeyring app to sailfishos. 

Regards

Mike7b4


___
SailfishOS.org Devel mailing list


[SailfishDevel] Deploy: dependies problem

2013-11-13 Thread Mikael Hermansson
submitten my app on the sailstore got this from QA:

"Reason for rejection: Cannot install this application on the phone Description 
of the 
problem: During installation appear error:  error: Failed dependencies: 
Qt5Multimedia is 
needed by uradio-0.8-1.armv7hl libsailfishapp.so.1 is needed by 
uradio-0.8-1.armv7hl qt5-
qtmultimedia-plugin-mediaservice-gstaudiodecoder is needed by 
uradio-0.8-1.armv7h"

It seems I have done something wrong in my RPM yaml file?

I have this in my yaml:

Name: uradio
Summary: Swedish radio
Version: 0.8
Release: 1
Group: Qt/Qt
License: GPL2.1
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |-
  Listen to SR radio channels on your mobile
Configure: none
Builder: qtc5
PkgConfigBR:
- Qt5Multimedia
- Qt5Core
- Qt5Quick
PkgBR: []
Requires: [Qt5Multimedia, sailfishsilica-qt5, gst-plugins-good, 
qt5-qtmultimedia-plugin-
mediaservice-gstaudiodecoder,
  qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer]
Files:
- /usr/share/icons/hicolor/90x90/apps
- /usr/bin
- /usr/share/uradio
- /usr/share/applications


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Problems with the Emulator (possible bugs?)

2013-11-05 Thread Mikael Hermansson
As an enduser perspective I say this: Please avoid double click, its often not 
work good on touch UI:s and is often PITA.

On Monday 04 November 2013 22.09.43 tw_bolek wrote:
> Hello guys,
> 
> While porting my applications to Sailfish OS, I encountered the following
> problems with the Emulator. I tried it numerous times and I always end up
> with the same result:
> 
> 1) I cannot make onDoubleClick signal work.  I have a Rectangle with a
> MouseArea filling it, and it has an onDoubleClicked signal - there's no
> reaction to it (tried clicking with various delays, a lot of times very
> quickly, etc.).  If I change it to onClicked then single click works fine.
> I've also tested it with a simple Button - similarly, onDoubleClicked has
> no reaction (other than that the button gets highlighted for a short while
> as with onClicked, but nothing else happens), while with onClicked the
> button works OK with a single click.
> 
> 

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Innovative app store. Or just a traditional one

2013-11-05 Thread Mikael Hermansson
As we don't know what Jolla will use yet, but below seems intresting 
alternative as appstore:

http://aseigo.blogspot.se/2013/10/distributing-content-with-bodega.html

Also recomend read:

A SailfishOS Co-creators Community in 2014?

http://mer-project.blogspot.fi/2013/11/a-sailfishos-co-creators-community-in.html

/

Mike7b4

On Tuesday 05 November 2013 23.04.23 Artem Marchenko wrote:
> Hi All
> 
> Phone is going to be in sales soon, app store is going to accompany it.
> What would you as app developer appreciate in the app phone?
> 
> Is there anything on top of "just buy an app" or "just buy this game
> upgrade in-app" what could be an important feature for you? Any disruptive
> ideas?
> 
> 
> As for me, I'd appreciate a couple of options:
> 
> 1. Built-in try-before-you-buy.
> To get rid of free/paid app pairs you see in the other app platforms. If
> developer doesn't mind, user should just be able to use app for free for
> some 7 or 30 days. After that - only after payment or with some features
> downgraded.
> 
> 2. Built-in subscriptions, especially for micro-sums
> Subscription-based schemes motivate developers to improve apps all the time
> while worrying less about hit-or-miss situation, so it would be cool if app
> store supported it.
> 
> I seriously would think even of small prices as just $0.95 a year, but it
> has to be charged on a monthly basis yet nobody is going to bug users with
> 10 cents monthly paid upgrade.
> 
> It would be great if app store supported such subscription methods
> natively. And certainly it could be seamlessly combined with
> try-before-you-buy so that first month is completely free.
> 
> What do you think?
> 
> Cheers,
> Artem.
> 
> P.S.
> I am not working for Jolla, just a random developer interested in the topic.

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] SSH after update : ....

2013-10-25 Thread Mikael Hermansson
> Host sailfishemu
> HostName localhost
> User nemo
> Port 2223
> StrictHostKeyChecking no
> UserKnownHostsFile /dev/null


Thanks for that one :) Nice and easier than hold the commandline in my head :)

 I think that config should be added in some way when install the SDK?

But to make it even more safe set strict to yes and remove the old keycheckfile 
when emulator is updated?

same should be used for mersdk ofcourse :)

Regards

Mikael


On Friday 25 October 2013 11.22.05 Thomas Perl wrote:
> On Oct 25, 2013, at 10:44 AM, Jarko Vihriala  
wrote:
> You can do the known hosts configuration per-host, so something like this in
> ~/.ssh/config usually works well (the important parts are the two last
> lines - the first one turns off strict host key checking - so you don't get
> asked all the time - and the second one makes sure no host keys are saved -
> for that specific host only):
> HTH :)
> thp
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Start learning for sailfish

2013-10-24 Thread Mikael Hermansson
Can also recomend this video from one of the Jolla engineers showing a tiny 
little ToDo app in SailfishOS:

https://www.youtube.com/watch?v=CiWqSIyqqAc



On Thursday 24 October 2013 23.27.00 Manohar Peswani wrote:
> Hello everyone,
> 
>   I am an Android developer for a long time and have a very
> good knowledge in Java programming. But now I want to start developing for
> sailfish. I don't have much knowledge about C++ and qml but I am willing to
> learn all these. One think which stopping me from learning app development
> for sailfish is that Sailfish OS run  Android apps as they are, I mean
> AFAIK Android app will run as they are in sailfish OS then why I should
> learn all these? Please clear my doubt.
> 
> 
> Thanks & Regards
> Sunny

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] How do you get phone IMEI, IMSI and other hardware info?

2013-10-17 Thread Mikael Hermansson

its there but you have to install it manualy

click sailfishos icon targets => manage and search in  for qtsystem and  
install qt5-systems


On Thursday 17 October 2013 19.48.08 Artem Marchenko wrote:
> Hi All
> 
> I need to get some sort of id for identifying user in stats.
> 
> I used to use QtMobility for fetching IMEI/IMSI, but it doesn't exist
> anymore :/
> It looks like https://qt.gitorious.org/qt/qtsystems is supposed to provide
> same info, but it's not in the Sailfish SDK and even on qt-project.org it
> isn't discussed at all.
> 
> How do you get IMEI (or any other id) in Sailfish OS or on Jolla device at
> least? Maybe some cool DBus call could provide it?
> 
> Best regards,
> Artem.

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Sailfish User Interface: Tabs

2013-10-12 Thread Mikael Hermansson
IMHO:

* Opera on N9 does not use tabs
* N9 own browser does not use tabs.

I do not see any problem with that.  I definitivly prefer PulleyMenus or 
gridview/swipe instead of I "to many buttons or tabs"

Think  different. Think new...

And trying to make good UI that "works on all platforms" is just wrong way of 
thinking IMHO. Its better split UI part from the logic and share as much as 
possible between the platforms but still use "native ui" for the platform 
used.

Different screen sizes, different core UI make it many time look really 
ugly/horrible if not using the functionality of platform UI. It also makes 
endusers confused if the app behaves different from the core. 


Regards

Mikael


On Saturday 12 October 2013 16.16.14 Kondou wrote:
> > It is a design decision not to have tabs in Sailfish. Depending on the
> > role of your tabs, you can use a pulley or attached page.
> 
> I'm wondering a bit, how a browser should work without tabs (except for
> only having one page open at a time).
> ___
> SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list


[SailfishDevel] SailfishSDK update 18 sept. Gallery example

2013-09-18 Thread Mikael Hermansson
Noticed that galley example says:

import Sailfish.Silica 2.0 changed ack to 1.0 and it worked...

is that an spelling error or is there a new package coming named silica 2.0?


___
SailfishOS.org Devel mailing list


[SailfishDevel] Sailfish UI VKBD

2013-09-07 Thread Mikael Hermansson
I think that the @ character should be visible directly on VKBD when inputtype 
is email. If I remember correct on N9/N900 is space button used for @ because 
space is not used anyway when enter email adresess so... Start made me think 
of URL:s maybe space could be used to something else when enter URl:s too. 
Such as toggle http:// https:// atleast when URL line is empty?

Just my  cents ;)
___
SailfishOS.org Devel mailing list


[SailfishDevel] LocaleStorage dirs

2013-08-17 Thread Mikael Hermansson
I planing to take backup and reinstall my linuxbox today and realised that all 
those hidden files in home root catalog on my Linux machines drives me nuts. 
Its to much wild west in how apps stores its app configs.


 Why does so many apps not following the rules and install in .config/appname? 
and caches in .cashe and so on also kde/gnome is not followin this rules :( 
this make it a mess if you want to  take backup.

That made me think. What are the rules when store data on SailfishOS?

IMHO it should follow STRICT to install in .config/appname
NOT in homedir root (eg .appname)

Please clarify whats the rules in the documentation :) So developer do it the 
right way from start.

Regards

mike7b4



___
SailfishOS.org Devel mailing list


[SailfishDevel] replacement to QtMobility's GalleryModel?

2013-08-15 Thread Mikael Hermansson
I guess Qt mobility has kinda deprecated in Qt5 and some is merged in Qt5.

But question is what is the replacement for DocumentGalleryModel? in Qt5 or 
any similar SailfishOS/nemo API:s?

also is there any GPS/NFC Qt API?

Sailfish homepage does not hint about any of ^^

Regards

Mikael alias mike7b4
___
SailfishOS.org Devel mailing list


[SailfishDevel] SailfishSDK Alpha2 bugreports

2013-08-15 Thread Mikael Hermansson
Got some time play with SDK tonight but found some issues some bugs some I 
probadly me doing it wrong way ;)

1  I cannot install ARM toolchains in SailfishMerSDK are those repos disabled 
atm?

I get 
"Problem: nothing provides cross-armv7hl-binutils needed by pattern:Mer-SB2-
armv7hl-.noarch Solution 1: do not install pattern:Mer-SB2-
armv7hl-.noarch Solution 2: break pattern:Mer-SB2-
armv7hl-.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c"

I want to use same buildmachine when working with Nemo(=N9) and sailfish so 
would 
be great if ARM toolchain can be installed in SailfishMerSDK.

2. it seems like emulator hangs on first start? (cant swipe and cursor not 
shown) I 
have to login and "killall lipstick" and then it will restart UI nicely and it 
show the 
rounded cursor. However I do remember this worked first time I started  alpha2 
was 
released hmmm...


3. /this worked in harmattan and old SDK (QML): /

/playMusic/.source="http://http-live.sr.se/p1-ogg-vbr.ogg"; 

Now it dont work? maybe I miss some gstreamer dependies cant remember what 
gstreamer package that provide http/rtsp stream plugins? Maybe plugins does not 
exist in new SDK? installed ogg/vorbis atleast but cant remember if I also 
needs some 
more gst plugins?

Just some feedback  if what I seen so far :) I hope to get some more time over 
at my 
work coming months be more active in sailfish app development :)

Regards

Mikael
___
SailfishOS.org Devel mailing list

[SailfishDevel] PulleyMenu and Combobox and make it possible to dynamic add items

2013-06-16 Thread Mikael Hermansson
I just wonder if there is a plan for dynamic items in PulleyMenu and Combobox?

Right now it seems its only possible to add static items in "compile time"?

IMHO it would be better if PulleMenu/Combobox using MVC approach same way as 
ListView/ListModel etc.. ?

Regards

Mikael Hermansson alias mike7b4


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Detail imfomation about developing for Sailfish

2013-06-01 Thread Mikael Hermansson
SailfishOS is based on mer-core take a look  what "low/midlevel" libs that
is included:

http://gitweb.merproject.org/gitweb

But for app developers most importan libs is probadly silica, qtmobility
and sqlite.




2013/5/31 

> Hi rhythmkay
>
> Welcome to the devel club!
>
> I too have some N9 Harmattan apps that I am porting to Sailfish. Some
> weeks ago I started a blog to chart this journey. You will find it here:
>
> http://flyingsheeponsailfish.**blogspot.ch/
>
> Much of the content so far is actually pretty obvious when you realize
> how, but the realizing how can often take a lot of time. More content will
> follow shortly.
>
> Have fun,
>
> Chris
>
>
> Zitat von rhythmkay :
>
>  To: 
> devel-subscribe@lists.**sailfishos.org
>>
>> Subject: Detail imfomation about developing for Sailfish
>>
>> Deal Sir,
>>I am very interested in developing for Sailfish,besides i want to now
>> more detail about it.Such thing like some system API classes and
>> function,or some this platform specified classes and function are very
>> important to me,for i did not find anything related with this in your
>> sailfish sdk for windows. I 've developed some good applications for my N9
>> before,therefore i have many new issues on developing for Sailfish platform.
>>   All in all,if possible ,please provide me as much as imfomation on your
>> platform development.
>>   Thanks,
>>  Regards,
>> rhythmkay?from China,SWJTU?
>>
>>
>>
>>
>
> __**_
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list