When i open my RSS app, i would like to check if an article exists in my database.If it exists,i would like to delete it (or ignore it),if not to write it in the db.
You have to escape the '
character or it breaks your SQL.
near "όσο": syntax error (code 1): , while compiling: select 1 from all_t where title='Ο ΦΟΒΟΣ και ο ΤΡΟΜΟΣ των διαδηλωτών!!! Αυτές οι γυναίκες είναι πιο σκληρές απ' όσο δείχνουν!'
More info here.
Perhaps instead of directly manipulating strings in a rawQuery
you can look into using a preparedStatement?
How do I use prepared statements in SQlite in Android?