Попробуйте это:
mYourSpinner.setOnItemSelectedListener(new OnItemSelectedListener()
{
@Override
public void onItemSelected(AdapterView<?> parent, View view,
int pos, long id)
{
//int Index = parent.getSelectedItemPosition();pos - is SelectedPosition
Toast.makeText(parent.getContext(),
pos + " View Selected", Toast.LENGTH_SHORT).show();
Intent newIntent = new Intent(GazaGuideSample.this, GuideCategories.class);
newIntent.putExtra("text",pos.toString());
startActivity(newIntent);
}
@Override
public void onNothingSelected(AdapterView<?> arg0)
{
}
});