I'm trying to make it so that when i select an item from a listview it will cause an alert window to display with text in it.
But first i need to know how to make the item selected do anything. I do not understand where the listen code for when a key is prssed nor do i know exactly where it goes, Please help. Below is the code i have and .java package com.---------; import android.app.Activity; import android.os.Bundle; public class ------------- extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } R.java /* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.-----------------; public final class R { public static final class array { public static final int ---=0x7f040000; } public static final class attr { } public static final class drawable { public static final int icon=0x7f020000; } public static final class id { public static final int Case=0x7f060002; public static final int ----=0x7f060003; public static final int Main=0x7f060000; public static final int Title=0x7f060001; } public static final class layout { public static final int main=0x7f030000; } public static final class string { public static final int app_name=0x7f050001; public static final int hello=0x7f050000; } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---