FileDocCategorySizeDatePackage
RemoteServiceController.javaAPI DocAndroid 1.5 API2408Wed May 06 22:41:08 BST 2009com.example.android.apis.app

RemoteServiceController

public class RemoteServiceController extends android.app.Activity

Fields Summary
private android.view.View.OnClickListener
mStartListener
private android.view.View.OnClickListener
mStopListener
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        setContentView(R.layout.remote_service_controller);

        // Watch for button clicks.
        Button button = (Button)findViewById(R.id.start);
        button.setOnClickListener(mStartListener);
        button = (Button)findViewById(R.id.stop);
        button.setOnClickListener(mStopListener);