Hi this is my first attempt at anything on Android Studio, what am i 

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import java.util.Random;

public class MainActivity extends AppCompatActivity{

    TextView number1;

        public static void main(String[] args) {

            Random generator = new Random();
            int number1 = generator.nextInt(13);
    protected void onCreate(Bundle savedInstanceState) {

        number1 = (TextView)findViewById(R.id.number1);


You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to