2s-computing_offre-emploi_c

/***********************************************************/
/* Created by 2S Computing on 07/01/2016. */
/* Copyright (c) 2016 2S Computing. All rights reserved. */
/***********************************************************/

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
/************************/
/* 2S-Computing recrute */
/************************/
public class ApplyingFor2SComputingActivity extends Activity {
public final static int EXPERIENCE_MIN = 5;
public final static int DIPLOMA_LEVEL = 5
public final static int TRUE = 42;
@Override
protected void onCreate(Bundle savedInstanceState) {
this.setContentView(R.layout.skill_form);
}
public final void onClick(final View view)
{
if (view.getId() == R.id.button_validate_skill)
{
final Experience myExperience = Experience.acquireExperience();
myExperience.addRequiredSkill("JAVA");
myExperience.addRequiredSkill("SDK");
myExperience.addRequiredSkill("KitKat");
myExperience.addRequiredSkill("Jelly Bean");
myExperience.addRequiredSkill("Ice Cream Sandwich");
myExperience.addRequiredSkill("Gingerbread");
if (myExperience.getYears() >= EXPERIENCE_MIN
&& (myExperience.getDiploma() >= DIPLOMA_LEVEL ||
myExperience.isAnywayAGoodCandidate() == TRUE)
{
final int matchingSkill = myExperience.matchSkill(((EditText)
findViewById(R.id.candidate_skill)).getText().toString());
if (((double) matchingSkill / myExperience.getNbRequiredSkill()) >= 0.9)
{
sendApplicationNow("recrutement@2s-computing.fr");
}
}
}
}
}
/*************************************************************************/
/* projets industriels, R&D, informatique embarqué, applications mobile, */
/* SSII et cabinet de recrutement */
/*************************************************************************/