I am developing a watch face and want to include some preferences (with UI components like checkboxes, etc.) that the user can open by tapping on the watch face. For this, what is the proper way to open a preferences list? Is it possible to include the code for the preferences (genlist, sliders, etc.) in the watch face project? Or do I need to create a dedicated UI project which is then bundled with the watch face via the Multi Package function of Tizen Studio and launched from the watch face through the app manager (app_control_h)?
How to call a preferences screen from a Tizen watchface (Tizen native)
138 views Asked by go3d At
2
There are 2 answers
0
On
preferences(saving data). There are 2 ways:
Using App Preference you may save information about the currently selected application, so when changing the app settings and return it back, the application will be loaded with the preferences, which was set during the last session.
- use xamarin.essentials NuGet package and
Preferences.Get(..)
orPreferences.Set(..)
methods
@go3d, I think you can use the entry component for the user text input. here is the document for the entry usages on the wearable device. (https://docs.tizen.org/application/native/guides/ui/efl/wearable/component-entry/) I guess you can add some codes for the entry component to the WeatherWatch sample.
Example)