You may want this tutorials: viewtopic.php?p=1852About your code, you should have a method onCreate for Banco, for it extends Activity.

Ok, I know is wrong, the more my problem is how I think I continue to access the data? I have a main activity, there I have a textfield and when I enter an information and when I click a button, go to class bank and saves the data. You know how can I make this work?

In that class I have a textfield and a button, I want to enter a textfield in the text and click the save. When I do this, I want go to class bank and saves the text in the database. Someone looking at my code can solve this?