i want to showing full message with android notification but my code just shows part of the message (just in a one row): my sample code is :
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context)
.setSmallIcon(R.drawable.iconnotify)
.setContentTitle("New Message")
.setContentText("Automatic Target Mode: using existing emulator emulator-5554 running compatible AVD test4")
.setAutoCancel(true)
.setTicker("Automatic Target Mode: using existing emulator emulator-5554 running compatible AVD test4");
final int notificationId = 1;
NotificationManager nm = (NotificationManager) context
.getSystemService(Context.NOTIFICATION_SERVICE);
nm.notify(notificationId, mBuilder.build());
now resuslt
The main objective
0 comments:
Post a Comment