FileDocCategorySizeDatePackage
NotificationTestList.javaAPI DocAndroid 1.5 API19765Wed May 06 22:42:02 BST 2009com.android.statusbartest

NotificationTestList

public class NotificationTestList extends TestActivity

Fields Summary
private static final String
TAG
android.app.NotificationManager
mNM
android.os.Vibrator
mVibrator
android.os.Handler
mHandler
long
mChronometerBase
private Test[]
mTests
Constructors Summary
Methods Summary
private android.app.PendingIntentmakeIntent()

        Intent intent = new Intent(Intent.ACTION_MAIN);
        intent.setComponent(new android.content.ComponentName(
                    "com.android.contacts",
                    "com.android.contacts.ContactsActivity"));
        return PendingIntent.getActivity(this, 0, intent, 0);
    
private android.app.NotificationnotificationWithNumbers(int num)


        
        Notification n = new Notification(this, R.drawable.icon2, null, System.currentTimeMillis(),
                "Persistent #2", "Notify me!!!", null);
        n.number = num;
        return n;
    
protected java.lang.Stringtag()


    
       
        return TAG;
    
protected Test[]tests()

        mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
        
        return mTests;