title: How I can update a sqlite Database?
body: <p>I want to make an update to my sqlite database of my android application, but I get an error in the update method.</p>
  
  <p>my code:</p>
  
  <pre><code>public void addInfo(View view){
  
          EditText et = (EditText)findViewById(R.id.txtContacto);
  
          String TAG = ((TextView)findViewById(R.id.textView2)).getText().toString(); 
          String FACH = ((TextView)findViewById(R.id.textView1)).getText().toString();
  
          ContentValues werte = new ContentValues();
          werte.put("info",et.getText().toString());
  
          mDatenbank.update(TAG, werte, "name="+FACH, null);
  
          Toast.makeText(this, 
                  getResources().getString(R.string.db_info_add),
                  Toast.LENGTH_SHORT).show(); 
  
  
      }
  </code></pre>
  
  <p>TAG is my Tablename
  FACH is a column </p>
  
  <p>Table layout:</p>
  
  <p>id (int) | name(text) | info(text)</p>