Closed 85pando closed 9 years ago
Yeah, there is a rudimentary import function to do this.
Yeah, right, did not sea this. Unfortunately it crashes for me, when I try to do this.
Oh this should not happen, can you tell me more about your system? Do you use cyanogenmod?
Ok i think the problem was, there was no config file on the internal SD card. I fixed this issue by checking if a config file exists or not in 7baed2971f58c6ad1f2ebea3e7ff46c10bc970d2. The config file has to be in /EnterpriseWifiSafeguard and has to be named as config.txt. I choosed this way because the android API has no own filechooser and if you want to use a filechooser you have to install a filemanager like "Dateimanager" on cyanogenmod. I expect that not all File Managers are supported by the android API so i choosed the hardcoded way. Maybe we could implement the option to set the config filename in a later version.
Right, when first exporting a file (probably also copying it into the correct folder with the correct name) it will import everything except username and password (which is as it should be).
In the bin folder is a new apk which avoids crashing if there is no config file
Import seems to not import the EAP-Method, Phase2-Method and Root Certificate.
Are you sure? On my system it works. I know its a bad hack how it works but it should work. If i import a configurations the spinners will be set on the position saved in the config.
Set the settings:
restart app, import:
This is a strange beheavior. But i think i got a solution.
Fixed in 3ffe9dccd557f5b9a4177f83a6132865c62f73b7
Verified, works
Entities like Companies or Universities could provide config files, so that most of the settings are automatically filled in.