Can an Android Cursor return a boolean value? I’ve looked at the docs and there was no info on it?
If not – then is there an alternative way to get a boolean value from a SQLite table?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The android implementation of SQLite3 doesn’t properly support boolean values. You will need to use integers set to 0 or 1 and write some code to convert that to a boolean e.g.