FileDocCategorySizeDatePackage
HelloWorld.javaAPI DocAndroid 5.1 API1585Thu Mar 12 22:22:44 GMT 2015com.example.android.rs.helloworld

HelloWorld

public class HelloWorld extends android.app.Activity

Fields Summary
private HelloWorldView
mView
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);

        // Create our view and set it as the content of our Activity
        mView = new HelloWorldView(this);
        setContentView(mView);
    
protected voidonPause()

        // Ideally an app should implement onResume() and onPause()
        // to take appropriate action when the activity loses focus
        super.onPause();
        mView.pause();
    
protected voidonResume()

        // Ideally an app should implement onResume() and onPause()
        // to take appropriate action when the activity loses focus
        super.onResume();
        mView.resume();