Trying to pass data from MainActivity to Custom view?

view story

http://stackoverflow.com – Hi im very very new to android, so this would be my first app. Im taking a java class and trying to make an app similar to a lab we did in class. All it does is ask for 3 numbers x, y, r and draws a circle using those parameters. Problem im having is trying to getIntent from my main activity. This is my main activity: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the me (HowTos)