FileDocCategorySizeDatePackage
ServiceStartArgumentsController.javaAPI DocGoogle Android v1.5 Example2725Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.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 icicle)

        super.onCreate(icicle);

        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);