我的通知栏是这样的结构:
Notification notification = new Notification(R.drawable.full,+level+"%",System.currentTimeMillis());
notification.flags = Notification.FLAG_ONGOING_EVENT;
Intent i = new Intent(context, MainActivity.class);
PendingIntent penInt = PendingIntent.getActivity(getApplicationContext(), 0 , i , 0);
notification.setLatestEventInfo(getApplicationContext(), "Batteria al"+" "+level+"%", "Clicca per aprire l'applicazione", penInt);
notifi.notify(215,notification);
}
但我不知道如何用这种结构设置 .setTicker 。我该怎么做?谢谢