Hi,
I dont really know if this is a bug or not.
But if I use a key that does not exist with a map it returns a "null" instead of the generic Null.
I dont really know if this is a bug or not.
But if I use a key that does not exist with a map it returns a "null" instead of the generic Null.
B4X:
Dim imgFile As String
imgFile = MimeTypeMap.Get(db.GetFileExt(sft.FilePath))
If imgFile= Null OR imgFile = "null" Then
imgFile = MimeTypeMap.Get("default")
End If