Re: [SailfishDevel] Ship a sqlite dabase with an app

2017-07-23 Thread Pablo
Hi all, and thank you for your answers :)

I finally added the sqlite db with the rpm following the example of Sebastian. 
I also found somewhere that the name of the ini and sqlite files is the md5 sum 
of the name the db receives in the ini follow, so it is perfectly working now.

Thank you!
Pablo.

El Jueves 20 de julio de 2017, Sebastian Wolf escribió:
> Hi Pablo,
> 
> Am Do. Juli 20 21:29:39 2017 GMT+0200 schrieb J Pablo Navarro:
> > Hi SFOS devs!
> > 
> > I think this is my first email over here and I don't have too much experice 
> > with apps, so please be kind :)
> > 
> > I want to ship an sqlite database with the app. The main reason is that 
> > generating this database takes around 15 minutes... and it weights 104 KiB, 
> > so 
> > I think the best solution would be to shipt it as part of the app instead 
> > of 
> > download it from somewhere (I don't have a server, so that would be a 
> > problem) 
> > or generate it the first time the app is opened.
> > 
> > My question is, what's the best way to do this?
> 
> as the others already explained, there are several good ways to achieve that 
> goal. The best one is always a matter of perspective. ;)
> 
> I had the same challenge in my first app (I needed to include a full-text 
> search enabled SQLize DB for my dictionary app) and I simply generated it 
> upfront and packaged the DB in the app's RPM file. Works smoothly, is 
> Harbour-compatible and very convenient for you as developer and for your 
> users.
> 
> Check out https://github.com/Wunderfitz/harbour-wunderfitz how I did it 
> (project setup etc.).
> 
> Best regards, Sebastian
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Storing credentials safely in a python+QML app

2016-09-15 Thread J. Pablo
Hello sailors!

This is my first email in the list, although I've been reading for a while.

I'm designing a simple app that show the user some info about its contract with 
its mobile carrier (pepephone, from Spain).

Their API is pretty simple and you have to login each time with user and 
password and then the servers returns a sessionID.

I'd like to keep username and password safely in the phone. Now, I'm aware that 
obfuscation is not an option, and any other safe method that come to my mind 
needs a master password. I've asked to other dev and he use a salt and the IMEI 
to encrypt it, but you only have to get other app into the phone and knowing 
the algorithm (easly checking the code on github) you can get the password.

I wonder if SFOS has some kind of keyring like kde or gnome, or if there is no 
other way than the described above. Any suggestion is appreciated :)

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


Re: [SailfishDevel] Storing credentials safely in a python+QML app

2016-09-15 Thread J. Pablo
But the master password should be remembered by the user? What's the difference 
then between this solution and just ask for the proper password each time?

Thanks!

El jueves, 15 de septiembre de 2016 11:46:01 (CEST) Andrey Kozhevnikov escribió:
> you should use master password for saving credentials, or ask every time 
> to enter password and save only login.
> 
> -- Исходное сообщение --
> От: "J. Pablo" 
> Кому: "Sailfish OS Developers mailing list (devel@lists.sailfishos.org)" 
> 
> Отправлено: 15.09.2016 16:44:22
> Тема: [SailfishDevel] Storing credentials safely in a python+QML app
> 
> >Hello sailors!
> >
> >This is my first email in the list, although I've been reading for a 
> >while.
> >
> >I'm designing a simple app that show the user some info about its 
> >contract with its mobile carrier (pepephone, from Spain).
> >
> >Their API is pretty simple and you have to login each time with user 
> >and password and then the servers returns a sessionID.
> >
> >I'd like to keep username and password safely in the phone. Now, I'm 
> >aware that obfuscation is not an option, and any other safe method that 
> >come to my mind needs a master password. I've asked to other dev and he 
> >use a salt and the IMEI to encrypt it, but you only have to get other 
> >app into the phone and knowing the algorithm (easly checking the code 
> >on github) you can get the password.
> >
> >I wonder if SFOS has some kind of keyring like kde or gnome, or if 
> >there is no other way than the described above. Any suggestion is 
> >appreciated :)
> >
> >Cheers,
> >Pablo.
> >___
> >SailfishOS.org Devel mailing list
> >To unsubscribe, please send a mail to 
> >devel-unsubscr...@lists.sailfishos.org
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Change of positioning in QML

2017-10-15 Thread J. Pablo
Hello Chris,

I didn't build your app or anything, but the code looks just great. Could you 
provide some link with an screenshot? What are the elements you are seeing 
moved? That could also help to sort this out.

Cheers,
Pablo.

El domingo, 15 de octubre de 2017 12:00:42 (CEST) Chris Walker escribió:
> I have now added one of my own apps to my new Xperia and I've noticed
> that the positioning of the items on a QML page has changed. Some of
> them are being overwritten.
> 
> Is this down to some change within the latest OS on Xperia (my original
> Jolla phone is running 2.1.2.3) or my coding?
> 
> The code is here -
> https://github.com/tonercloud/beertent/blob/master/qml/pages/BeerListPage.qml
> 
> I could attach a couple of screenshots and will do so if asked but
> thought it wise not to clutter up people's inboxes.
> 
> 
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Minutes] Sailfish OS, OSS community meeting on 9 Jan 2020

2020-01-09 Thread J. Pablo
Hi there,

Thanks for the minutes. For some reason, links are pointing to a December 
meeting. Could you check that James?

Thanks!
Pablo.

El 9 de enero de 2020 10:59:57 CET, James Noori  
escribió:
>Hi all,
>
>Thanks for attending today's meeting. Below you can find the meeting 
>minutes in a variety of formats:
>
>Minutes: 
>http://merproject.org/meetings/mer-meeting/2020/mer-meeting.2020-01-09-09.00.html
>
><http://merproject.org/meetings/mer-meeting/2019/mer-meeting.2019-11-14-09.00.html>
>Minutes (text): 
>http://merproject.org/meetings/mer-meeting/2020/mer-meeting.2020-01-09-09.00.log.txt<http://merproject.org/meetings/mer-meeting/2019/mer-meeting.2019-11-14-09.00.txt>
>Log: 
>http://merproject.org/meetings/mer-meeting/2020/mer-meeting.2020-01-09-09.00.log.html
>
><http://merproject.org/meetings/mer-meeting/2019/mer-meeting.2019-11-14-09.00.log.html>
>
>Next meeting will be held on Jan 23rd 2020 at 09:00 UTC
>
>Please announce your topics on the planning page below:
>
>https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/
>
>'Till next time,
>
>James
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Ship a sqlite dabase with an app

2017-07-20 Thread J Pablo Navarro
Hi SFOS devs!

I think this is my first email over here and I don't have too much experice 
with apps, so please be kind :)

I want to ship an sqlite database with the app. The main reason is that 
generating this database takes around 15 minutes... and it weights 104 KiB, so 
I think the best solution would be to shipt it as part of the app instead of 
download it from somewhere (I don't have a server, so that would be a problem) 
or generate it the first time the app is opened.

My question is, what's the best way to do this?

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

Re: [SailfishDevel] heartbeat timer that doenst freeze when phone is hibernated

2017-09-28 Thread J Pablo Navarro
Hi! 

This is my first answer to any question not started by me on this email list :D

I had to deal with something similar. There is a system command that you can 
use to wake up the phone at specific time: timedclient-qt5.

Also, nemo-keepalive is the package you would need in case you want to do some 
stuff while the phone screen is off.

On jueves, 28 de septiembre de 2017 6:58:59 (CEST) joao morgado via Devel 
wrote:
> Hi all
> I have timer app in harbour that is using a qml Timer to fire the alarm.
> Problem is when the phone is hibernated/deepsleep the timer freezes.
> Reading the sailfish api docs it seams the way to go is to use a heartbeat
> timer from timed component from
> here https://git.merproject.org/mer-core/timed I have already started
> reading the code, but I'm not sure what should I be looking for or how to
> use it with my app.  Any hints ? ThanksJoão
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Secure storage for login data

2019-06-12 Thread J Pablo Navarro
Hi there,

A few months back, Andrew mentioned this in telegram: 
https://github.com/sailfishos/sailfish-secrets 
but I didn't used it or looked into it. It looks like what you are looking 
for, though.

Cheers,
Pablo.

On miércoles, 12 de junio de 2019 19:41:22 (CEST) Iosif Hamlatzis wrote:
> I know of an open source library based in Qt that I've used on other OS,
> don't know if it's compatible with SailfishOS or can easily be converted
> 
> You can try QtKeychain from
> https://github.com/frankosterfeld/qtkeychain/wiki
> 
> On Wed, 12 Jun 2019 at 20:19 Dylan Van Assche via Devel <
> 
> devel@lists.sailfishos.org> wrote:
> > Hi,
> > 
> > Is there already a ready-to-use solution for storing login data (API keys)
> > for apps? Ks Sailfish Secrets the way to go here?
> > If not, any suggestions? I just don't want to save sensitive data like API
> > keys in plain text.
> > 
> > Kind regards,
> > Dylan
> > 
> > 
> > Sent from ProtonMail mobile
> > 
> > 
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org


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