1

Android Development Button

view story
linux-howto

http://stackoverflow.com – I am learning to make android apps and I have a problem with my hello world programs buttons. Here's my code: package com.Norwood.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.view.View; import android.widget.Toast; public class MainActivity 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 (HowTos)