Skip to content

Instantly share code, notes, and snippets.

@luizcarvalho
Created February 21, 2011 12:57
Show Gist options
  • Save luizcarvalho/837026 to your computer and use it in GitHub Desktop.
Save luizcarvalho/837026 to your computer and use it in GitHub Desktop.
Android - OnCreate
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.expenses_list);
dbAdapter = new DbAdapter(this);
try {
dbAdapter.open();
} catch (SQLiteException e) {
e.printStackTrace();
} catch (FileNotFoundException el) {
el.printStackTrace();
}
fillData();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment