title: Delphi XE5 Android Dev "unable to open database file"
body: <p>I followed this tutorial step by step <a href="http://docwiki.embarcadero.com/RADStudio/XE5/en/Mobile_Tutorial%3a_Using_SQLite_%28iOS_and_Android%29" rel="nofollow">Mobile Tutorial: Using SQLite (iOS and Android)</a> but when I deploy my application on my android device and attempt to add an entry, I get the following error <strong>"unable to open database file"</strong></p>
  
  <p>Here is a snippet of my code:</p>
  
  <pre><code>procedure TForm1.rappadAfterConnect(Sender: TObject);
  begin
        rappad.ExecuteDirect('CREATE TABLE IF NOT EXISTS notes(ID INTEGER PRIMARY KEY, title TEXT NOT NULL, content TEXT NOT NULL);');
  end;
  
  procedure TForm1.rappadBeforeDisconnect(Sender: TObject);
  begin
    {$IF DEFINED(iOS) or DEFINED(ANDROID)}
    rappad.Params.Values['ColumnMetadataSupported'] := 'False';
    rappad.Params.Values['Database'] :=
        TPath.Combine(TPath.GetDocumentsPath, 'rappad.s3db');
    {$ENDIF}
  end;
  </code></pre>
  
  <p>Does anyone know why is this actually happening? Thanks!</p>