title: Saved data lost when I restart the application(android)
body: <p>I'm saving some records through my application in <code>SQLite</code> database and later retrieving those records for future use.</p>
  
  <p>It's working fine until I close my application. </p>
  
  <p>When I close my application all the previously saved record becomes zero.</p>
  
  <p>Here is the code:--</p>
  
  <pre><code> public long insertAlbum(long Outlet_id,long user_id,String Remarks,String PhotoName,String ReportId,String Date,String Status,String LocalRepId)
   {
       long rowId=0;
  
       ContentValues initialValues = new ContentValues(); 
       initialValues.put("web_AlbumId", 0);
       initialValues.put("OutletId", Outlet_id);
       initialValues.put("Remarks", Remarks);
       initialValues.put("UserId", user_id);
       initialValues.put("Usr_Entdt", Date);
       initialValues.put("PhotoName", PhotoName);
       initialValues.put("ApprovedYN", "Pending");
       initialValues.put("Status", Status);
       initialValues.put("ReportId", ReportId);
       initialValues.put("LocalReportId", LocalRepId);
       try
       {
           myDataBase.beginTransaction();
        rowId=  myDataBase.insertOrThrow("Album", null, initialValues);
        myDataBase.setTransactionSuccessful();
  
       }
       catch(SQLException e)
       {
           e.printStackTrace();
       }
       finally
       {
           myDataBase.endTransaction();
       }
       return rowId;
  </code></pre>