Android code page

Spinner

import android.widget.Spinner;

Spinner spinner = (Spinner) findViewById(R.id.projectSpinner);

List categories = new ArrayList();
        categories.add("");
        categories.add("T ES");
        categories.add(" T STL");
        categories.add("T S");


        // Creating adapter for spinner
        ArrayAdapter dataAdapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, categories);

        // Drop down layout style - list view with radio button

SQLiteOpenHelper



import java.util.Comparator;
import java.util.Date;

/**
 * Created by k on 21/03/2016.
 */
public class Devoir {
    public String classe,travail,ok,pour,du;


    public Devoir()
    {

    }
    Devoir(String classe,String pour,String du, String travail,String ok)
    {
        //this.code=code;this.name=name;this.continent=continent;this.region=region;

        this.classe = classe;
        this.pour = pour;
        this.du = du;
        this.travail = travail;
        this.ok = ok;
    }



    public String getClasse() { return classe;}

ImagePickerActivity

import java.io.FileNotFoundException;
import java.io.InputStream;
import android.net.Uri;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;

public class ImagePickerActivity extends Activity {

Pages