Android: How to check if a DB field is blank and, if so, add a value like "Unnamed Record"?
<p>I am working off the Android Notepad Tutorial as a base. The problem is that when someone creates a record with a null name field, it shows up as a blank space in the listview and is unclickable, and therefore undeletable from the list. </p>

<p>I would like to have the program check for a null "name" field and replace it with the string "Unnamed Record" so that it comes up appropriately in the listview. Everything that I have tried so far has not worked correctly.</p>

<p>Another possible solution might be the give the name field an initial value of "Unnamed Record" but I am not sure that this would be effective.</p>

<p>Thanks.</p>
