Hi all

New to Android Devlopment - tried the first tutorial (Hello, Android):
it doesn't work! I've run it in the emulator - all i get is the
tipical android grey tect saying "android", much like a command promt.
I don't know if anything is set up correctly (Everything on the
devloper site followed word for word). Anyhow: here's the code:

package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        tv.setText("Hello, Android");
        setContentView(tv);

    }
}

Also, running windows 7.

All help will be very much appreciated!

Cheers

Rob (emisnug)

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en.

Reply via email to