[android-developers] Null Point Exception!

2008-04-13 Thread SQLserver
t; > I've eliminated the references to Lists EVERYWHERE else in the code besides in this XML. What could be wrong?? thanks, SQLserver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[android-developers] Re: Null Point Exception!

2008-04-13 Thread SQLserver
hello. Thanks, that solved my problem! Here's the code I use to connect to the ListView: String[] Strings = String.split(",", 100); KKList = (ListView) findViewById(R.id.theList); KKList.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_it

[android-developers] List View- onClickListener?

2008-04-13 Thread SQLserver
ngs)); How do I go about creating a kind of onClickListener for the List View, that will record the selected Item in the List? Preferably, it is possible without making another activity? thanks, SQLserver --~--~-~--~~~---~--~~ You received this message because y

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
On trying to set a setOnClickListener, I get a popup that suggests setting an setOnItemListener. However, I keep getting syntax errors for such. Can you provide a quick example with a setOnItemClickListener? thanks. --~--~-~--~~~---~--~~ You received this message be

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
Thanks that works great :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send emai

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
1 last thing- How would you get the Name/Text of the item clicked? thanks, SQlserver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
I'm trying: Object o = VList.getSelectedItem(); String keyword = o.toString(); But this gives me another NullPointerError. What could be wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] Re: What time is the deadline? Midnight tonight PST?

2008-04-13 Thread SQLserver
http://www.anddev.org/posting.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, sen

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
Is there another widget that you are supposed to use here besides the ListView? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@google

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
Does anybody know whether that conversion from the object to string works right? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googl

[android-developers] Re: List View- onClickListener?

2008-04-13 Thread SQLserver
from this textview? I can't seem to find the right method... thanks, SQLserver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Some Video View Problems...

2008-04-14 Thread SQLserver
t;\n\nvideo",String.valueOf(VScreen.isPlaying())); Vid.start(); }//End of onCreate } What is wrong with my code? Again, the first sample has the problem, and the second works fine. Thanks, SQLserver --~--~-~--~~~---~--~~ You received this messa