Android examples for Database:Cursor Get
get Short from Cursor
//package com.java2s; import android.database.Cursor; public class Main { public static short getShort(Cursor c, String columnName) { return c.getShort(c.getColumnIndex(columnName)); }/*from www. j a v a 2 s.com*/ }