Is there a way in which a string "hello" can be changed into a 'hello' in java (android)?? This is to make my sql query work. For example
Strings are sequence of characters delimited by double quotes. You can't delimit them by single quotes. Those are for characters. This one is in Java.
In case of SQL query, to enclose your string in single quotes, you can do it like this: