Languages

Menu
Sites
Language
Activate/Deactivate WIFI Connection Tizen Native Wearable 2.3.2

Hello everyone,

I trie to develop a tizen native app for wearable (2.3.2) which uses internet connection. For testing I developed a simple UI with Buttons to activate/deactivate the connection. I followed the Tizen Wifi API Reference and the example here https://developer.tizen.org/ko/community/code-snippet/native-code-snippet/activate-wifi-and-display-popup-available-networks-if-not-automatically-connected.?langredirect=1 , and also included network.get and network.set privileges.

When testing on  a gear s3, nothing happens and the actual Wifi connection of the gear is not influenced at all by the app. In the log it prints the messages "Wifi is activated" / "Wifi deactivated", but that´s the only thing what happens. In the code are no errors detected. In the sample description (see link ) it says that there will be a popup displayed - couldn´t make this happen so far. 

I tried it several times, when Wifi is initially activated or deactivated or set on automatic mode in the gear s properties, but never got anything else than  log messages. 

Is it not possible to activate/deactivate Wifi on a gear s at all? Or am I missing out an important step (like e.g. activate wifi is not enough, wifi_connected is also needed , which I thought is only necessary if a specific acess point needs to be used, since wifi_activate_with_wifi_picker_tested provides functionality to pick when not automatically connected)? 

Or is the connection manager better to use?

I know some other posts deal with the wifi topic as well, but the provided links to samples/explenations for tizen 2.3.2 do not work anymore. 

Thanks for your help!