Je suis débutant d'Android. J'ai trouvé l'exemple TabActivity avec ExpandableListActivity. J'ai 3 onglets, Artics, Album, Songs. Dans l'album, avec AlbumActivity je voudrais pour lister tous les albums. Je cours le programme, quand je clique sur l'album il court dans l'erreur à force vers le bas. Où j'ai mal fait?Android Tabactivity avec ExpandableListActivity
album_list.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView android:id="@+id/android:empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/no_album"/>
</LinearLayout>
AlbumActivity.java
public class AlbumsActivity extends ExpandableListActivity { ... ...onCreate... setContentView(R.layout.album_list); registerForContextMenu(getExpandableListView());
quelle est l'exception dans logcat? – techiServices