Ask / Submit

How to develop settings for an app with silica

asked 2014-06-12 14:51:53 +0300

BlueMagma gravatar image

updated 2015-08-13 12:30:07 +0300

On sailfish OS, in the settings, there is an "application menu" that show all your installed app. You can select some of them (jolla app) and change settings for the selected app.

Is there a way to implement settings to be edit there with silica ?

And if not, would'n it be a good idea to add a way to do it ?

Update by @anandrkris: There is a strong case on why we need it for certain (utility) apps without any app page. Below apps have their setting pages are not easily discoverable unless you read the App Description page. ;)

1.ScreenTapshot 2.Battery overlay

Also, now that Android apps are shown, it makes sense for native apps to be available here

edit retag flag offensive close delete



I think it is a good idea of having a "common" way of doing things for all applications.

cquence ( 2014-06-12 14:55:28 +0300 )edit

I think you can already do it, but your app won't be allowed in Harbour. If I remember correctly, it is a planned feature: maybe some sailor can give us an ETA?

donaggio ( 2014-06-12 15:13:20 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2014-06-12 16:03:10 +0300

Kontio gravatar image

This is not yet a public API or meant to be used by 3rd party apps (so no docs and it might change any time). It is planned to allow that for 3rd party apps, also for harbour apps. Once it's available for 3rd party you can also expect some documentation about it. But currently unfortunately no ETA available.

edit flag offensive delete publish link more



I still fail to understand why the settings are separated from the applications in the first place. What's wrong with having an app's settings within the app? Or rather: what's the advantage of accessing the app settings via system settings?

tokaru ( 2014-06-12 16:40:19 +0300 )edit

this is my personal view, pls don't take that as an official Jolla answer :) I think settings are bundled in a settings app, so the actual apps does not have to be overloaded we settings menus, to keep that lean. Since settings is not something you change several times a day. I think that is one advantage.

Kontio ( 2014-06-13 10:30:17 +0300 )edit

Also, some of the apps like Battery Overlay and ScreenTapShot don't have a UI as such so makes sense to have centralized settings page for apps.

anandrkris ( 2015-08-13 12:16:48 +0300 )edit

answered 2015-08-13 12:14:40 +0300

updated 2015-08-13 12:15:22 +0300

Linking a related post...

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2014-06-12 14:51:53 +0300

Seen: 607 times

Last updated: Aug 13 '15