is it mandatory to be the db created by SQLiteOpenhelper ? is it mandatory to be the field names all small ?
I compared the whole code with mark's reviewed it umpteen number of times, dont understand where is any trick left ? I am gonna try changing the 2 field names to all small case i downloaded the code from above link and it works, but in context menu the icon is not being displayed, and while adding record it crashes. I am using 1.5 Are there any known issues ? regards On Dec 18, 1:47 pm, Jags <jag...@gmail.com> wrote: > anybody out there ? the values in the cursor are perfect, i printed > them one by one, but the rows are blank in the listview > > On Dec 18, 12:38 pm,Jags<jag...@gmail.com> wrote: > > > now, after fixing those things, I get 2 items in the list [which is > > correct], but unfortunately, these are shown blank, no texts !. Am I > > missing something somewhere ? > > > regards > > > On Dec 18, 12:17 pm,Jags<jag...@gmail.com> wrote: > > > > Hey Mark, > > > > yes this is what i am trying to do. But the problem is, I dont see a > > > ListView in your main layout. neither you do a setContentView() in > > > your OnCreate method. it was crashing for me when i did a > > > setContentView, it is now showing blank list. How can I debug adapters > > > to see the records ? records are coming to the cursor, I am sure. No > > > exception either ! > > > > regards > > > > On Dec 17, 6:28 pm, "Mark Murphy" <mmur...@commonsware.com> wrote: > > > > > > If I want to refresh that in the same activity, then ? For example, i > > > > > need a cursoradapter and select a row and delete, that row is deleted > > > > > and record is also deleted, and dsplay updated. on click of a button > > > > > in the same activity. which example of yours demonstrate this type ? > > > > > I confess to having some difficulty in following your questions. > > > > However, > > > > I think this may help: > > > > >http://github.com/commonsguy/cw-android/tree/master/Database/Constants/ > > > > > -- > > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > Android App Developer Books:http://commonsware.com/books.html > > -- 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en