title: sqlite with boolean values?
body: <p>i am getting some text and boolean values from server i need to save them in database.</p>
  
  <p>this is my table . I defined boolean values as INTEGER couse in sqlite there is no boolean.</p>
  
  <pre><code>db.execSQL("CREATE TABLE outcomesStore(id INTEGER PRIMARY KEY AUTOINCREMENT , allowgo INTEGER,cod TEXT,youdidComments INTEGER, youwent INTEGER,ByDate INTEGER ," +
                  "OnCompletion INTEGER,yourtext TEXT , yourGroup TEXT, yourConsultation INTEGER )");
  </code></pre>
  
  <p>and i am getitng these values from server.</p>
  
  <pre><code>Store[] Storedata = Configuration.getStore();
  
  
      booleanvalues[0] = Store[0].isallowgo ();
  </code></pre>
  
  <p>and inserting like this</p>
  
  <pre><code> helperdatabase = new DatabaseHelperInurseBusiness(this);
              db = helperdatabase.getWritableDatabase();
  
              ContentValues insertOutcomes = new ContentValues();
  
  
              insertOutcomes.put(helperdatabase.ALLOW_GO,booleanvalues[0]);
          db.insert("outcomesStore", helperdatabase.ALLOW_GO,insertOutcomes);
  </code></pre>
  
  <p>Its not working even not giving any error.</p>