FileDocCategorySizeDatePackage
DebugIntentSender.javaAPI DocAndroid 1.5 API3209Wed May 06 22:42:48 BST 2009com.android.settings

DebugIntentSender

public class DebugIntentSender extends android.app.Activity
A simple activity that provides a UI for sending intents

Fields Summary
private android.widget.EditText
mIntentField
private android.widget.EditText
mDataField
private android.widget.EditText
mAccountField
private android.widget.EditText
mResourceField
private android.widget.Button
mSendBroadcastButton
private android.widget.Button
mStartActivityButton
private View.OnClickListener
mClicked
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle icicle)


    
        
        super.onCreate(icicle);
        setContentView(R.layout.intent_sender);

        mIntentField = (EditText) findViewById(R.id.intent);
        mIntentField.setText(Intent.ACTION_SYNC);
        Selection.selectAll((Spannable) mIntentField.getText());

        mDataField = (EditText) findViewById(R.id.data);
        mDataField.setBackgroundResource(android.R.drawable.editbox_background);

        mAccountField = (EditText) findViewById(R.id.account);
        mResourceField = (EditText) findViewById(R.id.resource);

        mSendBroadcastButton = (Button) findViewById(R.id.sendbroadcast);
        mSendBroadcastButton.setOnClickListener(mClicked);

        mStartActivityButton = (Button) findViewById(R.id.startactivity);
        mStartActivityButton.setOnClickListener(mClicked);