i.putExtra(NotesDbAdapter.KEY_BODY, c.getString(
c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY)));
Hi,
I don't understand this code line from the notepad tutorial.
What is the second parameter c.getString().....
doing here?
Is it getting the column index of the string "body"? In the database
table, it's _id, title, body, so is this value 2?
And then it's making the 2 into a String when the putExtra in the java
doc states that it expects a long value?
Thanks
--
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