それはあなたが「のTextView」エンティティといくつかのインフレータを持っているし、プロパティを設定してくださいので、気アクティビティの場合は、この
MediaPlayer mp = MediaPlayer.create(getApplicationContext(), R.raw.notification1);
mp.start();
mNotificationManager = (NotificationManager) this
.getSystemService(Context.NOTIFICATION_SERVICE);
PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
new Intent(this, MainActivity.class), 0);
NotificationCompat.Builder mBuilder = (NotificationCompat.Builder) new NotificationCompat.Builder(
this).setSmallIcon(R.drawable.icon)
.setContentTitle("MessageActivity")
.setStyle(new NotificationCompat.BigTextStyle().bigText(msg))
.setContentText(msg);
mBuilder.setContentIntent(contentIntent);
mNotificationManager.notify(NOTIFICATION_ID, mBuilder.build());
よう通知ビルダーを設定しながら、あなたが意図を設定することができ、「アンドロイド:オートリンクは=」ウェブ」テキストをクリック可能にします。 – QuokMoon