Does cursor.getString () support forcing an int into a string?
Yes, the same data from your tables can be returned using the getString(), getInt(), getLong(), and so on, if that makes sense. For instance,
- If the column data is 42:
getInt()returns 42, and getString()returns "42". - :
getString() "plant", getInt() 0.