Java tutorial
//package com.java2s; // Released under the Apache License, Version 2.0 import android.database.Cursor; import android.provider.ContactsContract.CommonDataKinds.Email; public class Main { public static int getEmailIndex(Cursor dataCursor) { return dataCursor.getColumnIndex(Email.ADDRESS); } }