Android Activity / Service / etc. objects aren't fully operational until onCreate.

Move these two lines inside onCreate.

-- Kostya

13.04.2011 18:28, David Tabernero пишет:

base baseDatos = new base(this,"programacion",null,1);
SQLiteDatabase db = baseDatos.getWritableDatabase();


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to