title: SQLite case expressions in Android
body: <p>Simple question: do case expressions work in Android? 
  I'm trying to implement a expression that checks the user value at the insert time and does some modification according to it.  I know the expression is syntactically correct because it works at the SQLite prompt inside the INSERT command. However, when I try to use it in Android (using <code>SQLiteDatabase.insert()</code>) the expression is treated as a String. I have also tried to implement it using some of the core SQLite functions and this new expression is also treated as a String. Any thoughts why this happens?</p>
  
  <p>Edit 1: <code>rawQuery()</code> is also not an option. The method is ignored. <a href="http://pastebin.com/NbUZPEkn" rel="nofollow">Here</a> are the logcat messages that appear to be related to the method call.</p>