As the title suggests. The instructions indicated tell me that this should work, but its not:
B4X:
Sub gUnIn_Click()
If File.Delete(File.DirRootExternal & "/Lock/" & Main.lockdir & "/", "") = True Then
Msgbox("lock deleted", "")
Activity.Finish
End If
End Sub