私の通知バーは次のように構成されています。
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 を設定する方法がわかりません。どうすればできますか?ありがとう