[android-developers] Aw: SQLiteOpenHelper

2011-06-20 Thread jjoe64
hi first, you should have a look at logcat. did you set up your db helper properly (constructor must call super-constructor, oncreate must create the table(s))? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Aw: SQLiteOpenHelper

2011-06-20 Thread Jorge Luis
It both does work. Is there somethign wrong with this query? Cursor r = DB.query(Notas, (new String[]{Nota}), null, (new String[]{fgCompromisso=0}), null, null, null); 2011/6/20 jjoe64 g.jjo...@googlemail.com hi first, you should have a look at logcat. did you set up your db helper

Re: [android-developers] Aw: SQLiteOpenHelper

2011-06-20 Thread Jonas Gehring
does the insert call, returns 1 or 0 ? it should return 1, otherwise there's an error. the query looks okay for me. try to query without any filter? just DB.query(Notas, null, null, null, null, null, null) ... 2011/6/20 Jorge Luis jorgelferr...@gmail.com It both does work. Is there somethign

Re: [android-developers] Aw: SQLiteOpenHelper

2011-06-20 Thread Jonas Gehring
does the insert call, returns 1 or 0 ? it should return 1, otherwise there's an error. the query looks okay for me. try to query without any filter? just DB.query(Notas, null, null, null, null, null, null) ... 2011/6/20 Jorge Luis jorgelferr...@gmail.com It both does work. Is there somethign

Re: [android-developers] Aw: SQLiteOpenHelper

2011-06-20 Thread Jorge Luis
Actually my problem was all over the query, i did a rawQuery and worked fine Bazinga! :P -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this