codekarim is just a bunch of reminders for fenuapps.com
imageButton = (ImageButton) findViewById(R.id.addButton); imageButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { /* Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show();*/ Intent i = new Intent(getBaseContext(), FicheDevoir.class); //i.putExtra("PersonID", "tutu"); //startActivity(i); startActivityForResult(i, CHILD_ACTIVITY_CODE); } });