Look at the logcat info ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ----------------------------------------------------------------------
On Wed, Jan 27, 2010 at 7:51 AM, kosac <[email protected]> wrote: > this is my /res/value/string file > > <string-array name="optionkey"> > <item>Ljudski igrač</item> > <item>Kompjuterski igrač</item> > <item>Neaktivan igrač</item> > </string-array> > <string-array name="optionvalues"> > <item>HUMAN</item> > <item>AI</item> > <item>NONE</item> > </string-array> > > this is my main.xml file > > <ListPreference > android:entries="@array/optionkey" > android:entryValues="@array/optionvalues" /> > > start.java > import android.app.Activity; > import android.os.Bundle; > > public class start extends Activity { > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > } > } > > when I try to run this I get an error "... stopped unexpectedly. > Please ..." > Any help .... please ...:) > Thank you. > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

