For status bar icon we used

    Intent contentIntent = new Intent(this,KeypadLayout.class);
        contentIntent.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK);
        PendingIntent appIntent =PendingIntent.getActivity(this,0,
contentIntent, 0);
        Notification notification = new Notification(R.drawable.icon,
null, System.currentTimeMillis());
        notification.setLatestEventInfo(c,
getText(R.string.app_name), getText(R.string.app_name), appIntent);
        mNM.notify(0, notification);

but can't open new Activity (KeypadLayout class)..plz tel me ..what is
wrong.???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to