FileDocCategorySizeDatePackage
IncomingMessageView.javaAPI DocGoogle Android v1.5 Example1460Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.app

IncomingMessageView

public class IncomingMessageView extends android.app.Activity
This activity is run as the click activity for {@link IncomingMessage}. When it comes up, it also clears the notification, because the "message" has been "read."

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

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

        // look up the notification manager service
        NotificationManager nm = (NotificationManager)
                getSystemService(NOTIFICATION_SERVICE);

        // cancel the notification that we started in IncomingMessage
        nm.cancel(R.layout.incoming_message_panel);