Sub btnVerBlob64_Click
Log("Pasando " & TesteoPHP.ViendoImagen & " a base64")
Dim B64Str As String = Base64Con.EncodeFromImage(File.DirDefaultExternal, TesteoPHP.ViendoImagen)
txtBlob64.Text = B64Str
End Sub
TesteoPHP.ViendoImagen is the mage name and it really exists.
The error is :
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String anywheresoftware.b4a.objects.StringUtils.EncodeBase64(byte[])' on a null object reference