Sub ImageView1_Click
If manager.Enabled Then
manager.LockScreen
manager.ResetPassword (File.ReadString(File.DirDefaultExternal, "PWD.txt"))
End If
ToastMessageShow("Device Administration is not enabled. Please enable in the main application.",True)
SMTP.Initialize("smtp.gmail.com", 465, "[email protected]", "xxxxxxxxxxx", "SMTP")
SMTP.UseSSL = True
SMTP.To.Add (File.ReadString(File.DirDefaultExternal, ""))
SMTP.Subject = "Passcode"
SMTP.Body = ""
SMTP.AddAttachment(File.DirDefaultExternal, "")
SMTP.Send
rv.UpdateWidget
End Sub