Android examples for Database:Cursor Get
get Short from Cursor by column name
//package com.java2s; import android.database.Cursor; public class Main { protected static short getShort(Cursor mCursor, String column) { return mCursor.getShort(mCursor.getColumnIndex(column)); }/*from w ww .j a va2 s .c o m*/ }