Hi,
Maybe it an error on my side, but I think the Notepadv2 tutorial is
not upto date. I am not sure if the following is correct:-
case DELETE_ID:
            mDbHelper.deleteNote(getListView().getSelectedItemId());

it should be deleteRow(..) and moreover it is not mDb..()  but
dbHelper(...

also in the OnListItemClick(..) , we do not need the Cursor.

Please update me on correctness of the tutorial.

Sunil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to