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

ServiceStartArgumentsController

public class ServiceStartArgumentsController extends android.app.Activity
Example of explicitly starting the {@link ServiceStartArguments}.

Fields Summary
private android.view.View.OnClickListener
mStart1Listener
private android.view.View.OnClickListener
mStart2Listener
private android.view.View.OnClickListener
mStart3Listener
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        setContentView(R.layout.service_start_arguments_controller);

        // Watch for button clicks.
        Button button = (Button)findViewById(R.id.start1);
        button.setOnClickListener(mStart1Listener);
        button = (Button)findViewById(R.id.start2);
        button.setOnClickListener(mStart2Listener);
        button = (Button)findViewById(R.id.start3);
        button.setOnClickListener(mStart3Listener);