Example #1
0
 public CharSequence convertToString(Cursor paramCursor)
 {
   if (paramCursor == null) {
     return "";
   }
   return paramCursor.toString();
 }
 /**
  * 開かれているCursorオブジェクトを閉じる。
  *
  * @param c Cursor型、閉じる予定のCursorオブジェクト
  */
 private void closeCursor(Cursor c) {
   if (c.isClosed() != true) {
     c.close();
     Log.d("closeCursor", "Cursor object closed, : " + c.toString());
   } else {
     Log.d("closeCursor", "Cursor object already closed.");
   }
 }
Example #3
0
 public CharSequence convertToString(Cursor cursor) {
   return cursor == null ? "" : cursor.toString();
 }
 @Override
 public void onRowClicked(Cursor cursor) {
   Log.d(TAG, "Row clicked: " + cursor.toString());
 }