get Short from Cursor - Android Database

Android examples for Database:Cursor Get

Description

get Short from Cursor

Demo Code


//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*/
}

Related Tutorials