Notepadv2 - please update the tutorials

by sunil » Thu, 08 May 2008 15:56:27 GMT


Sponsored Links
 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

--~--~---------~--~----~------------~-------~--~----~



Notepadv2 - please update the tutorials

by sunil » Fri, 09 May 2008 13:39:35 GMT


 It looks like i need to create this NotesdbAdaptor class before I can
do anything with the tutorial. It is definitely not shipped with the
tutorial bundle. Also the Notepadv1/2solution does not refer to this
class at all.
thanks for the help , but i am not convinced why I need to cut and
paste this file to get things going. Shouldn't it be part of the
tutorial since the tutorial exercise-1 asks reader to review this
file. I definitely do not see this NotesdbAdaptor file in the src
directory of the tutorial. I really want this mystry to resolved.
thanks for the help.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Notepadv2 - please update the tutorials

by sunil » Fri, 09 May 2008 14:07:40 GMT


 The mystery resolved. I was having an old tutorial ( dated feb) which
didn't have this NotesdbAdaptor file.I downloaded the latest one.

thanks
Sunil




--~--~---------~--~----~------------~-------~--~----~