Notifications.Builder в API 10

Notification.Builder builder = new Notification.Builder(this);

builder.setContentIntent(contentIntent)
    .setSmallIcon(R.drawable.ic_launcher)
    .setTicker(notificationMessage)
    .setWhen(System.currentTimeMillis())
    .setAutoCancel(true)
    .setContentTitle(newNotificationsCount + " New Notifications")
    .setContentText(notificationMessage);

Notification notification = builder.getNotification();
nm.notify(R.string.app_name, notification);

Это дает ошибку:

Для вызова требуется уровень API 11 (текущий минимум 10): android.app.Notification $ Builder # setContentIntent

Я загрузилandroid.support.v4.jar добавил его в папку libs в том же каталоге, что иЦСИ а такжеРез и т.п.

щелкните правой кнопкой мыши на этой банке из проводника проекта и добавьте путь к сборке.

мое приложение имеетмин апи = 10 а такжецелевой API = 15

Спасибо

Ответы на вопрос(1)

Ваш ответ на вопрос