1

Java Compiler error: can't find (SINGLE_CHOICE_MODE);

view story
linux-howto

http://stackoverflow.com – Here's my code fragment: import android.app.Activity; import android.app.Bundle; import android.app.ListActvity; import android.app.ListView; import android.app.AbsListView; import android.app.AdapterView; .... public class MyDemo extends ListActivity { @Override public void onCreate(Bundle icicle) { ListView myLV = (ListView) findViewByID(R.id.ListView1); myLV.setChoiceMode(SINGLE_CHOICE_MODE); } } When I try to compile, javac reports error: can't find symbol SINGLE_CHOICE_MODE. Any ideas? Am I not importing the correct file? (HowTos)