KStars Lite issues

Jasem Mutlaq mutlaqja at ikarustech.com
Mon Nov 7 21:03:19 UTC 2016


Ok so I checked on desktop it's kstarsrc, and on Android it's
libkstars.sorc, there is no absolute file path given. I added a few debug
and I'm not sure if aboutToQuit() signal is being caught in Android,
because save save config to disk when we receive that signal. Btw, I added
a manual Options::self()->save() after changing the color scheme, and still
I cannot see it getting saved, it resets to default values when restarted.

Here is a link to the log file generated from adb logcat (
https://www.dropbox.com/s/dt824eddkhzg4up/log.txt?dl=0)

On Mon, Nov 7, 2016 at 4:48 PM, Aleix Pol <aleixpol at kde.org> wrote:

> A good first step would be to print where the file is being written.
> Also you can check with "adb logcat" what error messages you're
> getting.
>
> Aleix
>
> On Mon, Nov 7, 2016 at 2:38 PM, Jasem Mutlaq <mutlaqja at ikarustech.com>
> wrote:
> > Hi Aleix,
> >
> > So The KStars Lite QML works fine when compiled and test on the desktop,
> but
> > the settings do not get saved on Android for some reason. Is there a way
> to
> > find out? On the desktop it creates ~/.config/kstarsrc, where does it
> keep
> > the same file on Android? I looked under org.kde.kstars (in Samsung S5)
> but
> > couldn't find any file. Is there anything special we need to add to
> KStars
> > to make it save settings on Android?
> >
> > Regards,
> > Jasem
> >
> >
> > On Mon, Nov 7, 2016 at 2:14 PM, Aleix Pol <aleixpol at kde.org> wrote:
> >>
> >> On Sun, Nov 6, 2016 at 7:06 PM, Jasem Mutlaq <mutlaqja at ikarustech.com>
> >> wrote:
> >> > Hello,
> >> >
> >> > So I made some changes to the code to make loading faster, it's now
> 2-3x
> >> > faster on Android but can still see more improvement especially
> >> > splashscreen
> >> > only appears after 3-4 seconds which might lead to think there is a
> >> > problem
> >> > loading the app, so that has to be address.
> >> >
> >> > Another problem we have is that the KStars options are not saved. We
> are
> >> > using KConfig just like in regular KStars. on KStars Lite for desktop,
> >> > it
> >> > creates a kstarsrc file under ~/.config and loading/saving of
> >> > configuration
> >> > options appears to be OK, but it's not working on Android.
> >> >
> >> > I'm CC KDE Android list, is there something special we have to do get
> >> > this
> >> > working on Android? We are using this repo to build KF5 for Android:
> >> >
> >> > git://anongit.kde.org/scratch/cordlandwehr/kdesrc-conf-android.git
> >> >
> >> > Check here for more details:
> >> >
> >> >
> >> > http://thelastpolaris.blogspot.de/2016/05/how-to-
> build-kstars-lite-for-android.html
> >> >
> >> > Any ideas? I found another repo here while writing this email:
> >> >
> >> > https://quickgit.kde.org/?p=android-builder.git
> >> >
> >> > Is this the one we should be using?
> >>
> >> Hi Jasem,
> >> First please register to this mailing list, or I have to moderate you
> >> in every time and people can't answer directly.
> >>
> >> kdesrc-conf-android is what Andreas was experimenting with and should
> >> be the right thing to use, proof is that you managed to compile your
> >> application. This doesn't mean KConfig is not going to have bugs. I
> >> encourage you to look into KConfig and debug the error.
> >>
> >> From there, I'll be happy to help you fix the issue.
> >>
> >> Aleix
> >
> >
> >
> >
> > --
> > Best Regards,
> > Jasem Mutlaq
> >
>



-- 
Best Regards,
Jasem Mutlaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-android/attachments/20161108/c205cfac/attachment.html>


More information about the KDE-Android mailing list