We have moved to a new Sailfish OS Forum. Please start new discussions there.
33

How to develop settings for an app with silica

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

BlueMagma gravatar image

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

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

Comments

1

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 +0200 )edit
2

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 +0200 )edit

2 Answers

Sort by » oldest newest most voted
9

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

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

Comments

1

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 +0200 )edit
3

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 +0200 )edit
2

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 +0200 )edit
1

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

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

Linking a related post... https://together.jolla.com/question/13464/why-are-native-app-developers-not-using-settings-apps/

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

Question tools

Follow
6 followers

Stats

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

Seen: 712 times

Last updated: Aug 13 '15