register your activity in manifest file.. On Mon, Dec 26, 2011 at 6:24 AM, Nathan Harness <7600on...@gmail.com> wrote:
> > I followed the instructions on the Android Dev site for Hello World, using > the XML version about half way down. Please see attached screen shot. > The fatal exception is MAIN(.xml), with the code shown in the window. > > This is the contents of HelloAndroid.java: > > package com.example.helloandroid; > > import android.app.Activity; > import android.os.Bundle; > > public class HelloAndroid extends Activity { > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > } > } > > > I'm not new to programming, but new to Eclipse and Java. I'm sure it is a > simple bug... I would really appreciate your help! > Thanks, > Nathan > > -- > 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 -- Regards, Narendra . -- 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