FileDocCategorySizeDatePackage
IncomingMessageView.javaAPI DocAndroid 1.5 API1489Wed May 06 22:41:08 BST 2009com.example.android.apis.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 savedInstanceState)

        super.onCreate(savedInstanceState);
        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.string.imcoming_message_ticker_text);