How to open WiFi settings

Solved Locked
O
Ollik
Tiketti Oy

Hi! We have two different device models. On Zebra TC25 I can open the WiFi setting by calling "Launch://com.android.settings/.wifi.WifiSettings". However the same doesn't work on Nautiz X41 and I get an Activity not found -message. Calling Launch://com.android.settings I can open the root of settings but how do I find out the Wifi-settings path?

4 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago (edited 4 years ago)

Though I don't have a Nautiz X41 nor any idea about its Android firmware version,  I believe the following should likely work :

   Launch://com.android.settings/.Settings$WifiSettingsActivity

   Launch://com.android.settings/.wifi.WifiSecSetupActivity

   Launch://com.android.settings/.wifi.WifiSettings

Solution
MD
Matt Dermody Diamond Contributor
4 years ago

You could try to identify it by manually launching it on a device and then using the identify_activity script to see what comes back in the SOTI device logs. Note that this method does not guarantee that you'll be able to always launch directly into a sub menu of settings or any activity for that matter. It may not be possible to recreate what you have done with the Zebra devices on the other manufacturer. 

O
Ollik
4 years ago

Thanks to you both! I tried the identify_activity script but only got SubSettings reference. However Raymonds first (didn't tried the last two) Launch://com.android.settings/.Settings$WifiSettingsActivity solved the problem.