automerc wrote: > I was wondering how we could add objects such as textview and radio > buttons to the activity through code and not the XML file and still > have it run correctly. I tried adding a simple textview below but I > got an error when I tried to run. Can any1 tell me how I could add the > textview in correctly?
Could you provide us with the error details from the log? Use adb logcat, Eclipse, or DDMS. In particular, it would be useful to know what exception occurred and what line of your source it occurred on. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden -- http://www.sotrium.com/training.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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---