Bonjour,

Je n'arrive pas à lancer mon activité. Je l'ai bien déclaré dans mon Manifest.xml.

Cette activité renvoi à une autre activité.

Voici le code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
public class des extends Activity {
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.onglet);
	    Intent intent = null; 
 
	    //recupere lang
	    Lang lang_suite =getIntent().getExtras().getParcelable("lang_suite");
	    String pa = lang_suite.getmlang();
 
 
	    //recupere type 
	    Type type_suite =getIntent().getExtras().getParcelable("type_suite");
	    String libelle = type_suite.getmtype();
 
 
 
	   // Type typesuite = new Type(libelle);
	  //  Lang languesuite = new Langue(pa);
 
 
 
    intent = new Intent().setClass(des.this, Inter.class);
 
    intent.putExtra("pa", pa); 
    intent.putExtra("libelle", libelle);
 
 
    Log.e("log_tag", "pa " + pa+"type"+libelle);
}
Est ce que je ne devrais pas utiliser plutôt un service?