20/10/14, 18:33:44
|
|
Usuario poco activo
|
|
Fecha de registro: ago 2012
Mensajes: 28
Modelo de smartphone: HTC ONE X
Tu operador: Movistar
|
|
Vale, ya lo he resuelto. Os lo dejo, por si a alguno le pasa
Código:
public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
switch( position )
{
case 0: Intent newActivity0 = new Intent(getApplicationContext(), comosellamelatuya.class);
startActivity(newActivity0);
break;
case 1: Intent newActivity1 = new Intent(getApplicationContext(), comosellamelatuya.class);
startActivity(newActivity1);
break;
case 2: Intent newActivity2 = new Intent(getApplicationContext(), comosellamelatuya.class);
startActivity(newActivity2);
break;
case 3: Intent newActivity3 = new Intent(getApplicationContext(), comosellamelatuya.class);
startActivity(newActivity3);
break;
case 4: Intent newActivity4 = new Intent(getApplicationContext(), comosellamelatuya.class);
startActivity(newActivity4);
break;
}
Última edición por ruben_ups Día 20/10/14 a las 18:43:30.
|