R.string.app_name を呼び出して通知の動的なタイトルを付けたいのですが、CharSequence に変換できません。R.string は、通知と互換性のない整数 ID を返します。お試しはこちら
CharSequence tickerText = R.string.app_name; //Error
Notification notification = new Notification(R.drawable.ico, tickerText,System.currentTimeMillis());
どうすればできますか?