Languages

Menu
Sites
Language
Setting System Settings

Hi there,

I'm tasked to develop an app for somebody else, who came with some kind of special requests about the apps capabilities lately. Beside other stuff, it had been asked if the app might be able to setup the watch to... ease the usage. Well... its about thse topics:

  1. Deactivating the Activation Gesture (or Wake Up Gesture)
  2. Deactivating the display timeout (or activating the always on mode)
  3. Activate the enhanced touch recognizion (not sure whats the english name is, because I just know it as "Berührungsempfindlichkeit")
  4. Jump to WLAN AP Selection if deactivated during startup
  5. switch all sounds to maximum level
  6. switch vibration to "high"
  7. make the app run as long as it hasn't been closed (even during display timeouts)


Well, looking through the tizen wearable api I was able to gather some informations, but I'm still miss some and starting to wonder if I did miss even more stuff with relevance to my task.

  1. there is a Getter in the System api which will provide information about its state if you put in the correct key (system_settings_key_motion_enabled), but no Setter, isnt it?
  2. another system settings getter with system_settings_key_screen_backlight_time as its key, but no setter either
  3. I have honestly no idea how to retrive or even set this setting at the moment
  4. at least this knows wifi_manager_active_with_wifi_picker_tested, which seems to open the menu in need
  5. didn't found anything
  6. another getter for system_setting_key_vibration, I think
  7. maybe the setting background.run=true might help, but I cannot make out the place it needs to be placed inside the manifest file

 

Okay... I guess these where the API says "no 3rd Party" are lost ground, but what about 3 and 5?

I hope there is something I can do about it.

Greetings

Responses

3 Replies
Armaan-Ul- Islam

Most of System Properties you mentioned is designed to be set/unset by Device user. An application can't change these device properties using code, not a 3rd party app at least; Which is logical and expected from a platform.

 

5. Sound Manager API > Volume is the reference you are looking for.

 

sound_manager_get_max_volume (sound_type_e type, int *max)

sound_manager_set_volume (sound_type_e type, int volume)

enum sound_type_e

 

Get max volume for the sound type and set volume to the returned max value, Iterate through all the sound type for your purpose.

Robert Kaiser

Yay, an answer!

Okay, I will give the sound_manager a try as soon as I get time to work at the app again (like tomorrow). Sounds like what I'm looking for.

 I guess all the apps, that can change these values, do originate from Samsung/Tizen (who is the one creating these apps?) who can grant these privilegues to apps they are creating. So I will pass on them. Well... I have to prepare myself to explain why the settings can set this but I cannot to these guys who requested that app in that case.

For 2 and 7 I did found something in the meantime:

efl_util_set_window_screen_mode

I have to admit I only found it because I moved along to the CPU_LOCK_REQUST thingy, which claimed to be deprecated partially in tizen 3.0.0 and pointed to this one.

it does solve the dimming and screen out "problem" request 2 and makes the request 7 for "keep running if screen wents dark" obsolete.... it may drain the watchs battery really fast, but that is nothing we worry about.

 

Well... if any other informations are available, I'm all ear. Until then, thank you for your reply

Armaan-Ul- Islam

You're welcome.

And Thanks for sharing efl_util_set_window_screen_mode trick.