Salut à tous. SVP j'ai un problème. Je ne sais pas pourquoi mon avd n'affiche pas les données dans un ListView. Il ouvre l'appli mais la referme instantanément. Voici le code de ma méthode onCreate. quelqu'un peux m'aider?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
String[] tableau = new String[]{
        	    "Un" ,"Deux" ,"Trois" ,"Quatre"
        	   ,"Cinq" ,"Six" ,"Sept" ,"Huit"
        	   ,"Neuf" ,"Dix"};
        	ArrayAdapter<String> adapter =
        	new ArrayAdapter<String>(
        	   this
        	   ,android.R.layout.simple_list_item_1, tableau);
        	this.setListAdapter(adapter);