Is this the correct way to convert an int into a string before use with Integer.toString()? Is there another way to do this where conversion is not required?
Example:
int value = 10;
Cursor cursor = database.query(
"TABLE_X",
new String[] { "COLUMN_A", "COLUMN_B" },
"COLUMN_C = ?",
new String[] { Integer.toString(value) },
null,
null,
null);