I’ve been writing a program that relies a lot on passing strings from PHP to android; I use entityutils.toString to pass that information to my app.
However, I now need to pass a Boolean from PHP to android. Obviously the entityutils.toString tool will not be any good. I’m having real trouble identifying the correct methods for this in my online searches.
Can any of you point me in the right direction?
Use an encoding such as JSON that distinguishes between integers and boolean values.