title: How to add initial data for DB using GreenDao in android?
body: <p>I have been this answer for insert initial data in native mode</p>
  
  <p><a href="https://stackoverflow.com/questions/6080975/how-to-add-initial-data-to-sqlite-database">How to add initial data to SQLite database?</a></p>
  
  <p>How can I get the same result using Green dao?</p>
  
  <p>this is my Application class</p>
  
  <pre><code>public class App extends Application{
  
  
      @Override
      public void onCreate() {
  
          super.onCreate();
          DaoMaster.DevOpenHelper helper = new DaoMaster.DevOpenHelper(this,"Images-bd",null);
          SQLiteDatabase db = helper.getWritableDatabase();
          DaoMaster daoMaster = new DaoMaster(db);
          DaoSession daoSession = daoMaster.newSession();
  
  
  
      }
  
  }
  </code></pre>