Sub Save_click
If edittext2.Text = edittext3.text Then
Dim sa As String = File.ReadString(File.DirInternal,"wifi_pswd.dd")
s = sa.Replace("yourmail@yourmail.com", edittext1.Text)
File.WriteString(s, File.DirInternal, "wifi_pswd.dd")
Dim sa As String = File.ReadString(File.DirInternal,"wifi_pswd.dd")
s = sa.Replace("yourpassword", edittext2.Text)
File.WriteString(s, File.DirInternal, "wifi_pswd.dd")
Dim sa As String = File.ReadString(File.DirInternal,"wifi_pswd.dd")
File.WriteString(s, File.DirInternal, "wifi_pswd.dd")
s = sa.Replace("yoursmtpserver", edittext4.Text)
File.WriteString(s, File.DirInternal, "wifi_pswd.dd")
StartActivity("Main")
Activity.Finish
Else
Msgbox("Check your password again, they are not the same.","Error:")
End If