Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NotificationCompat.Builder mBuilder =
- new NotificationCompat.Builder(this)
- .setSmallIcon(R.drawable.ic_launcher)
- .setContentText("Import the unzipped Android project into Eclipse by selecting File")
- .setContentTitle(getApplicationContext().getString(R.string.app_name))
- .setContentIntent(notifyIntent);
- NotificationCompat.Builder mBuilder =
- new NotificationCompat.Builder(this)
- .setSmallIcon(R.drawable.ic_launcher)
- .setContentTitle(getApplicationContext().getString(R.string.app_name))
- .setContentIntent(notifyIntent);
- NotificationCompat.BigTextStyle textStyle = new NotificationCompat.BigTextStyle();
- textStyle.bigText("Import the unzipped Android project into Eclipse by selecting File");
- mBuilder.setStyle(textStyle);
- NotificationManager mNotifyMgr = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
- mNotifyMgr.notify(mNotificationId, mBuilder.build());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement