On 4/6/2010 6:03 PM, raqz wrote:
Hi, I am trying to record the selection made by the user in the array.
But when I run the app, it crashes the moment I click something.
Please let me know what could be done for this.

public class ListViewExample extends ListActivity
{
        public int a[];
        public int i=0;

...
                a[i++]=position;

That's probably the culprit.
What are you trying to do here?

Michael

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to