Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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);
    }
}