iOS Question Http Job - How do I determine the type of data returned?

MrKim

Well-Known Member
Licensed User
Longtime User
This line:
B4X:
If j.GetString2("UTF8").SubString2(0, 6).EqualsIgnoreCase("Failed") Then
Works fine in B4A/J, but fails in B4i.
I found my problem HERE evidently B4i is tougher than B4j and B4a.
I am returning a Bitmap if it is there otherwise I return different error messages UTF8.
I mean I solved it by just trapping the error if it is B4i error but I was wondering if there is a cleaner way to determine the type of data returned?
 
Top